Live data from Hacker News

FreeBSD ate my RAM

crocidb.com

21–30 of 89 posts

Re: FreeBSD ate my RAM

#21
post #2

Interesting post, it made me wonder. At one time FreeBSD swap usage/logic was far better than what Linux did. Is that still the case ?

Yes, It's just not every tool is aware of ZFS ARC. Which is what this post is about. Author just describes in an odd way.

Re: FreeBSD ate my RAM

#22

Earlier quoted context omitted.

I remember how NetBSD promoted itself as running on many more toasters than Linux once. Then some NetBSD dev wrote on their mailing list that this is no longer true. Linux runs on more toasters now. (And also top 500 supercomputers, but toasters are the real metal to the petal test.) These fights always remind me of: https://www.jwz.org/doc/worse-is-better.html It's an interesting piece of history too. I kind of eval…

why did that url point me to a scrotum in an egg cup

Seems like at a glance that website if it sees a referral from ycombinator, it redirects to that image.... In a private window it loads the 'intended' page.....

Re: FreeBSD ate my RAM

#24
post #9
post #4

the end struck me - a picture of an os book. I wonder if students these days retain their books after college, or do they get returned as a rental?

I'm a professor at a community college in Silicon Valley, and my students use online textbooks. I try to use Creative Commons or other libre textbooks, but sometimes I use paid textbooks when they are heads-and-shoulders better than their libre alternatives. Some e-textbooks can be accessed on a subscription basis. I admit I prefer non-subscription materials, but a colleague advised me that often the book that studen…

just hint students towards anna's archive and then sky's the limit

Re: FreeBSD ate my RAM

#25
post #2

Interesting post, it made me wonder. At one time FreeBSD swap usage/logic was far better than what Linux did. Is that still the case ?

FreeBSD didn’t have memory overcommit and instead used strict swap reservation - each allocated anonymous memory page was supposed to have a corresponding swap page. This required 2x RAM swap space, otherwise you would get “out of swap” when forking a large process. FreeBSD implemented memory overcommit around 2000.

Re: FreeBSD ate my RAM

#28
post #2

Interesting post, it made me wonder. At one time FreeBSD swap usage/logic was far better than what Linux did. Is that still the case ?

FreeBSD didn’t have memory overcommit and instead used strict swap reservation - each allocated anonymous memory page was supposed to have a corresponding swap page. This required 2x RAM swap space, otherwise you would get “out of swap” when forking a large process. FreeBSD implemented memory overcommit around 2000.

Oh, so that's where that old nugget of wisdom came from! I've heard the rule about making your swap at least 2x your RAM for ages and thought it was just some old rule of thumb from the 80s. I didn't know there used to be a legitimate reason for it.

Re: FreeBSD ate my RAM

#29

Earlier quoted context omitted.

FreeBSD didn’t have memory overcommit and instead used strict swap reservation - each allocated anonymous memory page was supposed to have a corresponding swap page. This required 2x RAM swap space, otherwise you would get “out of swap” when forking a large process. FreeBSD implemented memory overcommit around 2000.

Oh, so that's where that old nugget of wisdom came from! I've heard the rule about making your swap at least 2x your RAM for ages and thought it was just some old rule of thumb from the 80s. I didn't know there used to be a legitimate reason for it.

See this retrocomputing.SE question https://retrocomputing.stackexchange.com/questions/32492/ori...
Post reply on HN