[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] How do threads show up in 'ps' without /lib/tls?
On Friday 02 September 2005 01:12, Eric Brown wrote: > Will I see a separate process and pid for every thread of a process > once I move /lib/tls to /lib/tls.disabled? (I usually do 'ps agux'. Without NPTL (New Posix Thread Library) most distributions use LinuxThreads to provide pthread support. That one implements threads as processes, so the usual psutils have little to no way to see if a process is just a thread or a forked child of the parent. > Is there anything I should be concerned about? Assuming I'm correct, > is there any way to hide these processes from my ps & top lists? Maybe its possible to patch ps &co into hiding those threads, but if you use lots of threaded apps, you should really try to use a xen compatible glibc with NPTL. Mutex operations, condition signalling etc are quite slow with the old LinuxThreads, I've seen apps gaining 20% more performance just by switching to NPTL. /Ernst _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |