Live data from Hacker News

FreeBSD ate my RAM

crocidb.com

61–70 of 89 posts

Re: FreeBSD ate my RAM

#61
post #59

I wonder if these btop fixes got into the standard ports collection? Or even upstream? I like the command for viewing the ARC cache size, never knew that. It's only 2GB on my system (of 64GB RAM).

Ports is on 1.4.7. * https://freshports.org/sysutils/btop/ The fix is still pending being even made to the origin version. * https://github.com/aristocratos/btop/pull/1728

Thanks! I will keep an eye on that.

Re: FreeBSD ate my RAM

#62

I wonder if these btop fixes got into the standard ports collection? Or even upstream? I like the command for viewing the ARC cache size, never knew that. It's only 2GB on my system (of 64GB RAM).

>I like the command for viewing the ARC cache size zfs-stats is also nice for more zfs internals like hit-rate L2 etc.. https://www.freshports.org/sysutils/zfs-stats

Thanks! I didn't know that one.

Re: FreeBSD ate my RAM

#63
post #54

As for the “unauthorized” sign: Book publishers used to print India/SEA-only editions of books only sold in those countries, significantly cheaper than in the US or Europe. Then a Thai guy realized that this would be a good business opportunity: buy cheaper books and then import them to the US. Wiley brought him to court, went to the SCOTUS, Wiley lost the case. So they ended up printing cheaper edition books. https:…

Wow, how did we go from "it's impossible to enforce region locking online because you can transmit information instantly across the world" to "locality more easily enforced in the digital world"?

Re: FreeBSD ate my RAM

#64
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 graduated a decade ago but there was a pretty decent post-semester market for people selling their textbooks to other students (mostly via posting in various Facebook groups). Given the cost of college nowadays, if that ends up saving students a bit of money, it's probably worth it over saving the textbooks themselves.

Most years my parents ended up just driving my stuff to my aunt's house where she kept it in her garage over the summer after I packed it all up since I grew up several states away but my aunt loved in the area, and by the end of senior year, the textbooks I never managed to sell had added up to almost an entire extra bin (which was heavier than any of the others because they mostly just had clothes). For people who didn't have parents who loved driving everywhere in a large enough car or relatives in the area, this seems like it would be even more annoying (potentially ending up with just donating the leftover textbooks or maybe leaving them on the street like furniture and stuff often is at the end of the year on campuses). If people want to keep their textbooks, more power to them, but I'm not convinced that having a cheaper way that also simplifies the logistics of moving isn't better.

Re: FreeBSD ate my RAM

#65
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…

> The nice thing about e-textbooks is not needing to carry around a bunch of heavy books. I remember the tomes I had in my college days, such as Stewart's Calculus.

I'm not sure how relatable this is for people outside of my age group (late millennial), but growing up we used to get chided about stuffing too much in our backpacks and shown presentations about how we were going to give ourselves scoliosis, but then had like two minutes between classes that might be on the other side of the building (meaning no time to stop at our lockers other than at lunch) and we'd get chided even worse if we didn't have our textbooks available for the days we happened to need them in class (which of course we were never told in advance, and some classes had multiple textbooks that wouldn't all get used every time).

I wish that we had iPads or Chromebooks or whatever back when I was in school not even because I would have wanted to have been able to surf the web or play games or whatever, but just to have a solution to having to pick between having a sore back or getting worse scolding (with a side course of hypocrisy either way).

Re: FreeBSD ate my RAM

#66
post #40

Earlier quoted context omitted.

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

HN has disappointed JWZ

Just blackholing the request would be kinder than taking it out on the person following the link, given that their gripe seems to be more with the one who posted it (and that as a deterrent, it doesn't seem to be particularly effective given that it's been years since the first time I've seen this conversation play out in comments)

Re: FreeBSD ate my RAM

#67

Earlier quoted context omitted.

htop explained* I was looking forward for web protocol, but alas...

It was a typo. Thanks, fixed. But there is an http headers article you might like. https://peteris.rocks/blog/exotic-http-headers/

I”d instead suggest RFC 9110, HTTP Semantics: https://www.rfc-editor.org/info/rfc9110/>

Re: FreeBSD ate my RAM

#68
post #54

As for the “unauthorized” sign: Book publishers used to print India/SEA-only editions of books only sold in those countries, significantly cheaper than in the US or Europe. Then a Thai guy realized that this would be a good business opportunity: buy cheaper books and then import them to the US. Wiley brought him to court, went to the SCOTUS, Wiley lost the case. So they ended up printing cheaper edition books. https:…

Wow, I've only ever heard of regional pricing being described as an overwhelmingly positive concept. When phrased as "price discrimination", it invokes a completely different set of (negative) emotions in me.

It's weirdly uncomfortable knowing that phrasing has such a big impact on one's emotions. It really shows how vulnerable we are to manipulation.

Re: FreeBSD ate my RAM

#69

Earlier quoted context omitted.

That’s clever. Makes for terrible UX, though. AFAIK the only way for you to figure out how much of your disks is actually cached involves enumerating all tmpfs and ramfs mounts, summing their sizes, and subtracting the sum from the cache size reported by the kernel.

Well, what's the alternative? Invent a new type of memory reservations specifically to account for tmpfs/ramfs mounts? That'd violate your own stated desired goal of > The OS should just expose a counter for available memory instead of having applications understand every type of memory reservation.

I don’t see how it contradicts my goal. I want memory counters that abstract away kernel behavior that the application has no business accounting for.

Re: FreeBSD ate my RAM

#70

Earlier quoted context omitted.

Well, what's the alternative? Invent a new type of memory reservations specifically to account for tmpfs/ramfs mounts? That'd violate your own stated desired goal of > The OS should just expose a counter for available memory instead of having applications understand every type of memory reservation.

I don’t see how it contradicts my goal. I want memory counters that abstract away kernel behavior that the application has no business accounting for.

The applications, frankly, have no business accounting any memory at all outside of what they use themselves via sbrk/mmap.
Post reply on HN