linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: IBM java: Turning on SMP seems more and more likely the key
@ 2002-05-29  0:54 Bill Fink
  2002-05-29  3:07 ` Bill Fink
  0 siblings, 1 reply; 2+ messages in thread
From: Bill Fink @ 2002-05-29  0:54 UTC (permalink / raw)
  To: LinuxPPC Developers; +Cc: Bill Fink


On Tue May 28 2002, Graham Leggett wrote:

> James Gunning wrote:
>
> >          Have just verified that toggling SMP *on* is the critical
> > switch to get the IBM java to go.
>
> Had the same result here: SMP kernel + java = works.
>
> Trouble is the SMP kernel is noticably slower than the non SMP kernel on
> non SMP systems.

My best guess is that the bug is somewhere in /usr/src/linux/mm/slab.c
since that is the only part of the MM code that's dependent on CONFIG_SMP.
One difference I see is that the SMP code uses kmem_cache_alloc_batch
which is a real function, whereas the non-SMP code uses kmem_cache_alloc_one
which is a macro.  Also the SMP code writes something to the /proc file
system while the non-SMP code does not.  But I don't see anything obviously
wrong, although I'm certainly no expert in this area.

						-Bill

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-29  3:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-29  0:54 IBM java: Turning on SMP seems more and more likely the key Bill Fink
2002-05-29  3:07 ` Bill Fink

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).