login
Header Space

 
 

Re: migrating proc from zone to objcache

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <kernel@...>
Date: Tuesday, April 1, 2008 - 3:05 am

2008/4/1, Matthew Dillon <dillon@apollo.backplane.com>:

I ran make buildworld twice with procs in objcache and twice with
procs allocated thru kmalloc() on a UP system.  The runtime is
identical in both cases and the ram footprint presumably smaller with
kmalloc().  (Admittedly, 2 runs are not much for stat purpose but
buildworld takes time.)

I'm now running buildworld with procs in zones.

I gave a quick look at struct proc and I admit that there isn't much
for pre-initialization as an instance inherits lots of stuff from its
parent.  I'll look at it again today more thoroughly.

So, I'm inclined toward using kmalloc() right now.  More on this
tonight.  It's time to go to my real job :-)
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: migrating proc from zone to objcache, Matthew Dillon, (Mon Mar 31, 7:11 pm)
Re: migrating proc from zone to objcache, Nicolas Thery, (Tue Apr 1, 3:05 am)
Re: migrating proc from zone to objcache, Nicolas Thery, (Tue Apr 1, 1:52 pm)
speck-geostationary