This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/207] New: ucontext is very slow.


We use ucontext related functions in our project.
We port it from Windows, where we used to deal with
*Fiber functions. During the tests we discovered that
our task engine on linux is near 10 times slower than 
windows one.

Here are two small examples on context swapping on windows fibers
and unix ucontexts. Unix one works near 5 seconds against 0.4 on
windows one.

Is it possible to improve perfomance?

Thanks in advance. Alexander Darovsky.

-- 
           Summary: ucontext is very slow.
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: a dot darovskikh at compassplus dot ru
                CC: glibc-bugs at sources dot redhat dot com
  GCC host triplet: Linux 2.6.0


http://sources.redhat.com/bugzilla/show_bug.cgi?id=207

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]