Messages in this thread | | | From | Greg Lindahl <> | Subject | Re: 2.2.5 optimizations for web benchmarks? | Date | Wed, 28 Apr 1999 13:22:17 -0400 (EDT) |
| |
> > Does the scheduler prefer processes which share vm space with the current task? > > As I see it, threads are just special processes, so the scheduler may just > > switch to a completely different process anyway and incur the TLB flush. > > Either way, if you are really worried about performance, your machine > probably isn't running anything else significant anyway.
Why do people spend so much time making assumptions?
Some web servers run CGI scripts. If you aren't using an "in-server" implementation of CGI, you might have substantial cpu time being consumed by non-server processes. Even if you are using an in-server CGI, that means some threads/processes are going to be using a lot more CPU time than the ones serving out static pages. Thus, you still get to worry about affinity.
-- g
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |