3,664 reputation
514
bio website
location
age 35
visits member for 3 years, 6 months
seen Jun 26 at 1:34

Mar
30
comment Is it possible to make the OOM killer intervent earlier?
@dronus, yes, it is tricky trying to get it "just right".
Mar
29
comment Is it possible to make the OOM killer intervent earlier?
@TomWijsman, the question makes it clear that he isn't constantly in low memory conditions; he just sometimes runs a command that takes an unexpectedly large amount of memory. Buying more memory is not the the only solution when you run out. Other potential solutions include finding better ways to make use of the memory you have, or just not doing whatever needs that much memory. The question makes it clear that the latter is more acceptable than going out and buying more ram.
Mar
29
comment Is it possible to make the OOM killer intervent earlier?
I'm assuming no such thing; it was explicitly stated in the question.
Mar
29
comment Is it possible to make the OOM killer intervent earlier?
@TomWijsman, how do you figure?
Mar
29
answered Is it possible to make the OOM killer intervent earlier?
Mar
29
comment Is it possible to make the OOM killer intervent earlier?
@TomWijsman, Disk IO is many orders of magnitude slower than memory IO, so using disk swap has always meant a huge slow down. Sometimes ( especially in the old days where ram was expensive and so most people didn't have much ) that's preferable to not being able to do what you were trying at all. These days the disk is SO much slower than ram, and ram is cheap enough that most people have plenty, so on the rare occasion where they accidentally run something that uses more ram than they have, it is often better to give up than take 1000 times as long to do it.
Mar
29
comment Is it possible to make the OOM killer intervent earlier?
Because killing an application that is trying to use more memory than you have is preferable to bringing the entire system to its knees. In a perfect world you would have unlimited memory and never run out, but in reality, sometimes you run out by accident and would rather be told "not enough memory" than have the system grind to a halt.
Mar
29
comment Is it possible to make the OOM killer intervent earlier?
Of course disabling swap improves the behavior because instead of thrashing the disk, the OOM kicks in and kills the memory hog. Running out of ram isn't the problem ( and adding more just means you have to try harder to run out ). The problem is what to do when you DO run out. You want the OOM to kill the hog, and thus relieve the low memory condition.
Mar
29
comment Is it possible to make the OOM killer intervent earlier?
@JourneymanGeek, you are off in left field. Disks are slow compared to ram, period, hence heavy swapping always grinds the system to a halt. Of course he is out of memory because he tried running a program that uses a lot of memory. The question is what to do when out of memory? Kill the hog, or slow down due to having no memory left for the disk cache.
Mar
29
comment What Raw Read Error Rate Is Acceptable After 1 Year Power On?
Indeed, the value has no well defined meaning.
Mar
29
comment Is there a performance difference between Cat5 and Cat6 keystone blocks?
What the crap is a "keystone block"? I've never heard them called that before, and google isn't turning up much. Is this a recent mistranslation from Chinese or something?
Mar
21
comment Do fast copy programs work?
Threading does not help unless you are copying multiple source files spread out over multiple physical drives to multiple destinations that are also on different drives. If all of the source files are on the same drive, then trying to read and write multiple things at the same time slows it down since the drive has to constantly seek back and forth.
Mar
21
comment Kernel compilation and free space
Ubuntu has always defaulted to a single partition install. It is not recommended to have a separate /usr.
Mar
20
answered How can I calculate the RAM Performance of two latches?
Mar
20
comment cvs delete project (module) and reclaim space
It's real easy to get the devs to learn new technology: tell them their job depends on it ;)
Mar
20
comment cvs delete project (module) and reclaim space
Migrate to a real VCS. Seriously, using CVS in this day and age is like still using Windows 3.1. CVS was god awful 10 years ago when it was replaced with svn, and there are several newer systems that are leaps and bounds better than that. bzr attempts to be user friendly and easy to use for those used to cvs or svn, though I found git to be more powerful once you get over the learning curve.
Mar
20
answered New 3TB HDD, can see full 2.7TB in Linux and Windows, but shows up as 801.6GB in BIOS
Mar
19
answered Dell eSATAp not working with some SATA disks
Mar
19
answered Clonezilla multiple disks restore to single disk
Mar
19
comment Computer slow after installing 32GB RAM
Testing it is not a bad idea, but probably isn't the problem. Even if the motherboard were running the ram at a slower speed, it wouldn't make THAT much difference.