From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4397 invoked by alias); 7 Jun 2004 08:45:42 -0000 Mailing-List: contact glibc-bugs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sources.redhat.com Received: (qmail 4385 invoked by uid 48); 7 Jun 2004 08:45:40 -0000 Date: Mon, 07 Jun 2004 08:45:00 -0000 From: "a dot darovskikh at compassplus dot ru" To: glibc-bugs@sources.redhat.com Message-ID: <20040607084537.207.a.darovskikh@compassplus.ru> Reply-To: sourceware-bugzilla@sources.redhat.com Subject: [Bug libc/207] New: ucontext is very slow. X-Bugzilla-Reason: CC X-SW-Source: 2004-06/txt/msg00021.txt.bz2 List-Id: 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.