Re: performance....
"Richard Seaman, Jr." <[email protected]> Mon, 15 Apr 2002 13:39:06 -0500
| Newsgroups | gmane.linux.ngpt.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Apr 15, 2002 at 09:52:03AM -0400, Bill Abt wrote: > Most of our benchmarking and testing has involved the same test cases that > are included in the LinuxThreads package. In these tests, NGPT is faster > in virtually every area. Since you're able to do thread context switches in userland, as compared to Linuxthreads that does thread context switches in the kernel, your context switches *ought* to be much more efficient. But I haven't measured this directly. It also appears to me that things like syscalls that can block, mutex locking, and pthread_self among others, are likely to be less efficient in NGPT than Linuxthreads. I would guess that benchmarks that are dominated by the cost of context switches would favor NGPT. Other benchmarks might show the opposite, depending on the mix of code. -- Richard Seaman, Jr. email: [email protected] 5182 N. Maple Lane phone: 262-367-5450 Nashotah WI 53058 fax: 262-367-5852