Re: FreeBSD vice OS X memory management

2012-04-28 Thread jb
Wojciech Puchar wojtek.tensor.gdynia.pl> writes: > > > does OS X kernel share any code with FreeBSD kernel's memory management > > subsystem ? > > IMHO no. OSX is somehow-microkernel based, they did take things from > FreeBSD but not this IMHO. > > anyway - who cares > Well, I quoted the so

Re: FreeBSD vice OS X memory management

2012-04-28 Thread jb
Wojciech Puchar wojtek.tensor.gdynia.pl> writes: > > > > > "2) Inactive memory (which is memory that has been recently used but is no > > longer) is supposed to be seamlessly reclaimed automatically by the OS when > > needed for new programs. In practice, I?ve found that this isn?t the case, > >

Re: FreeBSD vice OS X memory management

2012-04-28 Thread Wojciech Puchar
is relatively new. My guess is that if there is a problem it's ZFS specific. If it were a more general problem I think we'd see a lot more complaints, whereas ZFS already has a reputation for needing lots of memory. you may precisely set up a limits of memory that ZFS would use at most. or just

Re: FreeBSD vice OS X memory management

2012-04-28 Thread Wojciech Puchar
If you really are having a problem with FreeBSD you are going to have to do a lot better than this in terms of providing some data points which define the problem. I am in agreement with Adam here: either you can work the problem or you can troll. I don't see any indication yet of any real problem

Re: FreeBSD vice OS X memory management

2012-04-28 Thread Wojciech Puchar
"2) Inactive memory (which is memory that has been recently used but is no longer) is supposed to be seamlessly reclaimed automatically by the OS when needed for new programs. In practice, I?ve found that this isn?t the case, and my system slows to a crawl and starts paging out to disk when free

Re: FreeBSD vice OS X memory management

2012-04-28 Thread Wojciech Puchar
most importantly networking but certainly not memory subsystem. On Wed, 25 Apr 2012, Chuck Swiger wrote: On Apr 25, 2012, at 5:31 AM, jb wrote: does OS X kernel share any code with FreeBSD kernel's memory management subsystem ? The simple answer is no. A more complex answer: % grep -ri fr

Re: FreeBSD vice OS X memory management

2012-04-28 Thread Wojciech Puchar
does OS X kernel share any code with FreeBSD kernel's memory management subsystem ? IMHO no. OSX is somehow-microkernel based, they did take things from FreeBSD but not this IMHO. anyway - who cares Something is deeply broken in OS X memory management http://workstuff.tumblr.com/post/20464

Re: FreeBSD vice OS X memory management

2012-04-26 Thread jb
RW googlemail.com> writes: > ... > > ... > > "2) Inactive memory (which is memory that has been recently used but > > is no longer) is supposed to be seamlessly reclaimed automatically by > > the OS when needed for new programs. In practice, I’ve found that > > this isn’t the case, and my system

Re: FreeBSD vice OS X memory management

2012-04-26 Thread RW
On Thu, 26 Apr 2012 08:32:39 + (UTC) jb wrote: > Adam Vande More gmail.com> writes: > > > ... > > http://workstuff.tumblr.com/post/19036310553/two-things-that-really-helped- > > speed-up-my-mac-and > > http://dywypi.org/2012/02/back-on-linux.html > > > > "2) Inactive memory (which is memo

Re: FreeBSD vice OS X memory management

2012-04-26 Thread Michael Powell
Adam Vande More wrote: > On Thu, Apr 26, 2012 at 12:04 AM, jb wrote: > >> If so, should FreeBSD adopt NetBSD's MM subsys, or just improve itself >> surgically ? >> > > You ought first establish there is a problem. What you have cited is > recently reinvigorated trend that has taken on the air

Re: FreeBSD vice OS X memory management

2012-04-26 Thread jb
Adam Vande More gmail.com> writes: > ... > http://workstuff.tumblr.com/post/19036310553/two-things-that-really-helped- > speed-up-my-mac-and > http://dywypi.org/2012/02/back-on-linux.html > "2) Inactive memory (which is memory that has been recently used but is no longer) is supposed to be sea

Re: FreeBSD vice OS X memory management

2012-04-25 Thread Adam Vande More
On Thu, Apr 26, 2012 at 12:04 AM, jb wrote: > If so, should FreeBSD adopt NetBSD's MM subsys, or just improve itself > surgically ? > You ought first establish there is a problem. What you have cited is recently reinvigorated trend that has taken on the air of the "BDS is dying" troll. What y

Re: FreeBSD vice OS X memory management

2012-04-25 Thread jb
jb gmail.com> writes: > ... > "The related implementation in FreeBSD seems to have a similar problem: > > NetBSD users have also reported that UVM’s im- provements have had a positive > effect on their applica- tions. This is most noticeable when physical memory > becomes scarce and the VM syst

Re: FreeBSD vice OS X memory management

2012-04-25 Thread jb
Chuck Swiger mac.com> writes: > > On Apr 25, 2012, at 5:31 AM, jb wrote: > > does OS X kernel share any code with FreeBSD kernel's memory management subsystem ? > > The simple answer is no. A more complex answer: > > % grep -ri freebsd xnu-1699.24.23 | wc -l > 520 > > % grep -ril freebs

Re: FreeBSD vice OS X memory management

2012-04-25 Thread Chuck Swiger
On Apr 25, 2012, at 5:31 AM, jb wrote: > does OS X kernel share any code with FreeBSD kernel's memory management > subsystem ? The simple answer is no. A more complex answer: % grep -ri freebsd xnu-1699.24.23 | wc -l 520 % grep -ril freebsd xnu-1699.24.23 | sort | uniq % grep -ril freebs