>>>>> On Wed, 23 Jul 2008 15:49:34 -0700,
Jason Thorpe <thorpej@shagadelic.org> said:
There are some sort of multi-thread programs that thread
synchronization happens far more often than time-slicing
or I/O blocking.
e.g. Some simulations which give thread context to each object.
The effect of time-slicing you said doesn't matter on such programs.
The attached graph is a result such sort of benchmark
which was measured on 2003 October when SA was merged
(X-axis is number of threads, log-scale. Y-axis is time
[microsecond], log-scale).
This benchmark does something like UNIX pipe, but uses threads
instead of processes for the pipeline.
As you see, userland implementations except pth (i.e. mit threads
and ptl) and SA are always faster than 1:1 implementations,
even if there is only two threads.
Also, (theoretically) SA is ALWAYS faster or at least equal
than 1:1 thread implementations on single processor systems
for ANY multi-threading programs.
And most low-end embeded systems, which is one of fields that
NetBSD has advantage, only has single processor.
So, I don't think it's right thing to abandon SA at this point.
--
soda
| Karl Meyer | PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out" |
| David Miller | Slow DOWN, please!!! |
| Mark Fasheh | [PATCH 0/39] Ocfs2 updates for 2.6.28 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Shawn O. Pearce | Re: pack operation is thrashing my server |
| Pierre Habouzit | git send-email improvements |
| Matthieu Moy | git push to a non-bare repository |
| Shawn O. Pearce | libgit2 - a true git library |
| Elad Efrat | Integrating securelevel and kauth(9) |
| Hubert Feyrer | Re: Compressed vnd handling tested successfully |
| Lord Isildur | Re: Fork bomb protection patch |
| Matt Thomas | Re: FFS journal |
| Will Maier | cron doesn't run commands in /etc/crontab? |
| Richard Stallman | Real men don't attack straw men |
| Harald Dunkel | Re: Packet Filter: how to keep device names on hardware failure? |
| Jordi Espasa Clofent | Resolving dependencies with pkg_add |
| Question on swap as ramdisk partition | 1 hour ago | Linux kernel |
| Netfilter kernel module | 12 hours ago | Linux kernel |
| serial driver xmit problem | 15 hours ago | Linux kernel |
| Why Windows is better than Linux | 15 hours ago | Linux general |
| How can I see my kernel messages in vt12? | 22 hours ago | Linux kernel |
| Grub | 1 day ago | Linux general |
| vmalloc_fault handling in x86_64 | 1 day ago | Linux kernel |
| epoll_wait()ing on epoll FD | 1 day ago | Linux kernel |
| Framebuffer in x86_64 causes problems to multiseat | 1 day ago | Linux kernel |
| Difference between 2.4 and 2.6 regarding thread creation | 2 days ago | Linux general |
