Better HN
topnewbestaskshowjobs
Log inSign up

VectorLock

4,209 karma · joined May 11, 2017 (9y ago) · 1,859 submissions

Who will bell the cat?
Submissions

comment 7y ago · link · parent

Its like if a Cylon and a Dalek had a baby.

Adorable.

comment 7y ago · link · parent

You make a good point about swapping out unused pages, and I'd love to discover how to balance between maintaining the "fail fast" of swap-off and the ability to swap out never used paged with swap-some. While the latter would be nice to have that extra RAM its not worth the risk, in my world at least.

comment 7y ago · link · parent

There are lots of different application models the issue here is ton of rule-of-thumb regression from "redundancy is important" to "swap is okay after-all I guess."

comment 7y ago · link · parent

I know there is probably a good reason they made it look like a Cylon, some down-forward facing sensor, but its still really funny to me.

comment 7y ago · link · parent

I would like OOM killer to be smarter and maybe easier to configure. I'm glad you can instrument it better with BPF now, at least.

comment 7y ago · link · parent

Why let them live? Why wake myself up? Now your swapping systems are introducing a performance degradation.

comment 7y ago · link · parent

>I've also been in the opposite scenario where not having swap caused run away service kill and restart scenarios.

Seems like a good time to just kill it and move on. "Cattle not pets."

comment 7y ago · link · parent

I'm not sure what shes observing other than "feels weird" but my observation is the exact opposite, but my observations usually have some measurements to them.

comment 7y ago · link · parent

If your application starts running slower it should be killed. Redundancy means not having to worry about graceful anything.

comment 7y ago · link · parent

>However, what I've never done is actually benchmarked the same workload on machines with no, some and loads of swap. However, I generally defer to Rachel, because Rachel has been there and been bitten by that before.

I have. A well utilized machine is going to absolutely tank once it hits swap. Do you want to engineer your application to be able to cope with two radically different performance regimes, or do you simply want to ensure that your working set stays bounded?

comment 7y ago · link · parent

>It can take 10+, 30+ minutes for systems encountering this to resolve to some meaningful conclusion, and half the time, I'm desperately trying to ssh in so-as to kill -9 the errant task anyway but ssh is paged out, and I wish the OOM killer would just do it for me instead of Linux trying to page everything through what feels like a single 4KiB page.

Sounds like you have a redundancy problem not a swap problem. If should just be able to kill a machine that gets into a bad way like that and move on. What if it wasn't swap but one of the million other things that could make your server crawl?

comment 7y ago · link · parent

Desktop machine? Swap. For some reason you have a single server and don't care about performance? Swap. Running an application that might have a working set thats larger than RAM and the application doesn't understand how to do its own disk paging? Swaps good there!

Larger scale systems with redundancy? No swap.

Having swap in systems like this still doesn't make sense to me. It treads heavily on the "cattle not pets" philosophy. I shouldn't be ssh-ing into a machine thats swapping to see whats up. It should be killed. One server in the cluster starts swapping and falls out of step with its peers? It should be killed. When a machine starts swapping it falls into a while different performance regime than the rest of your systems, now you've got more variance in your response times. Not good when you care about your response times. Unless you have memory-pretending-to-be-disk for swap (in which case why isn't it just memory)

I've never seen a machine 'act funny' because it didn't have swap, its always the other way around. I don't think I've ever encountered a machine that used so much memory that the kernel didn't have buffers, but not so much that it invoked OOM killer. Unless there was a woefully misconfigured process running on the machine.

If a machine is well utilized CPU wise it is going to get absolutely crushed when it starts swapping.

Time and time again I see swap being an issue. The past year I've been in a Large Scale shop which for some ungodly reason it has swap (nowhere I've been in the past 10 years as swap as a general rule)

Don't even get me started with EBS IOPS exhaustion when you start swapping onto an EBS volume.

comment 7y ago · link · parent

>I always wonder how many mis-configured PCs exist in the world with little problems like this quietly slowing down some user who never figures it out.

All of them.

comment 7y ago · link · parent

I've seen this line being trotted out by people supporting 8chan and their ilk a lot lately. "If you censor them they'll get even more violent." Regardless of your opinions on free speech, it sounds to me that cutting off the hub for these groups to network, encourage, indoctrinate and manipulate is much more likely to reduce violence than incite it.

comment 7y ago · link · parent

According to the Cloudflare CEO he was worried cutting off 8chan with inhibit law enforcement's ability to monitor it.

comment 7y ago · link · parent

ANSI art and Warez were pretty closely tied scenes.

comment 7y ago · link · parent

+++ATH0

comment 7y ago · link · parent

I still remember my first Linux was Slackware on a stack of 3.5" discs downloaded from a BBS.

comment 7y ago · link · parent

Comparatively speaking (to a hard drive) a 3.5" disc is still pretty "floppy."

comment 7y ago · link · parent

Because you can read a sentence much quicker than you can listen to an audio clip of that same sentence. The inflections don't convey as much unambiguous information as actual words. Was that sigh because someone was tired, frustrated, or just needed to take a breath?

comment 7y ago · link · parent

Nuance is great and all but when you're deal with a lot of information you want to convey information as clearly and unambiguously as possible. Audio just doesn't have the information bandwidth that writing does.

comment 7y ago · link · parent

It takes much longer to listen to an audio recording than it does to read a sentence. And in certain cases, compose one.

comment 7y ago · link · parent

You can write bots in Slack. Actually they tout that as a big feature.

comment 7y ago · link · parent

I assume that at least part of it is in the genes.

comment 7y ago · link · parent

Maybe if they were able to put superior genes in their offspring they'd be able to move that metric.

comment 7y ago · link · parent

I went to the bank and got an envelope of $5ers that I keep around just for delivery drivers now.

I'd love to see how much DoorDash's "tip" revenue has declined since this seems to now be much more widely known.

comment 7y ago · link · parent

Tuning oomkiller's hitlist makes it much more managable and the new BPF tools to track it make it a ton nicer than a system grinding into swap.

comment 7y ago · link · parent

Its like people don't remember the days of the failwhale.

comment 7y ago · link · parent

We're asking the sandbox to be perfect and that'll never be a thing. It's always a race between the sandbox makers and those trying to escape it.

comment 7y ago · link · parent

Sandboxes are never safe.

But man some of these bypasses are getting into evil genius level of shady cleverness.

1
444546
62