public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/207] New: ucontext is very slow.
@ 2004-06-07  8:45 a dot darovskikh at compassplus dot ru
  2004-06-07  8:47 ` [Bug libc/207] " a dot darovskikh at compassplus dot ru
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: a dot darovskikh at compassplus dot ru @ 2004-06-07  8:45 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-08-10  2:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-07  8:45 [Bug libc/207] New: ucontext is very slow a dot darovskikh at compassplus dot ru
2004-06-07  8:47 ` [Bug libc/207] " a dot darovskikh at compassplus dot ru
2004-06-07  8:48 ` a dot darovskikh at compassplus dot ru
2004-06-08 14:57 ` jakub at redhat dot com
2004-06-09  4:31 ` a dot darovskikh at compassplus dot ru
2004-08-10  2:06 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).