This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/207] New: ucontext is very slow.
- From: "a dot darovskikh at compassplus dot ru" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 7 Jun 2004 08:45:40 -0000
- Subject: [Bug libc/207] New: ucontext is very slow.
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
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.