Re: kernel thread support - LWP's

merblich (merblich@gateway.net)
Thu, 15 Jul 1999 22:11:54 -0700


In the land of the giants... :)

One last thing, I thought that one of the problems with Linux
is that it doesn't scale well with CPUs > 4 doing any type
of useful kernel work.

How do you compare a Intel system to a 64 processor Sun
System or maybe a we bit smaller, and get a "apples to
apples comparison"?

BTW, in case someone cares I somewhat like the Solaris
architecture LWP and threads model (they are different).

I just belive that the implimentation could have been
quite simpler and still achieve the same results.

Mitchell Erblich

merblich wrote:
>
> Larry,
>
> I'll bite...
>
> Doesn't/didn't lmbench show that this Sun model performs
> better, or was it just the implimentation of the model
> that was better than the old?
>
> Mitchell Erblich
> Ex-Sun
> =============
>
> Larry McVoy wrote:
> >
> > : Are there plans in the near future to support proper LWP's in the Linux
> > : kernel ? By this I mean multiple threads of execution within the same
> > : process id, not multiple processes sharing the same VM, etc. Can I
> > : encourage whoever is considering doing this that it would be a very
> > : good thing to do ? :)
> >
> > Sure you could if you had so much as a shred of data which supported
> > the idea that it would be a good thing to do. In a short discussion I
> > had with Linus about this a month or so ago, he pointed out something
> > that should have been obvious, that cloned processes which share VM
> > also share the page tables and hence the TLB resources. Why is that
> > important? Because it was the one remaining thing that I could see as
> > a legit argument for supporting LWPs. Given that that isn't an issue,
> > can you think of a single technical reason why LWP's would be better?
> >
> > I'll warn you up front that I've chewed over this topic at length with
> > people like Steve Kleiman, the architect of the the Solaris threading
> > model and the guy that taught me much of what I know about operating
> > systems, and even he isn't convinced that Solaris model is worth it.
> > If the clone() model had been around, I'm 90% sure he would have gone
> > with that.
> >
> > So do you have any supporting data which makes a case that LWP's would
> > be better than the current model? I'm willing to believe there is such
> > data, but at this point I'm at a loss as to what it could be.
> >
> > -
> > 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/
>
> -
> 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/

-
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/