[lkml]   [2001]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Swap vs No Swap.
> > Yeah, but when the disk starts swapping the system slows down to a halt.
> No, when the disk starts *THRASHING* the system slows down to a halt.
> If you are thrashing with swap you would be thrashing much worse without
> swap.

Not neccessarily.
Your swap early swap often paradigma works long as the swap
partition resides on an standalone harddisk without a data partition.

But imagine the situation that you have a higher band width streaming
application - e.g. viewing a video file. On the same hard disc there is a
swap partition. Cache is getting bigger and bigger until kernel starts to
Now the swapping algorithm writes on the harddisc. That troubles the hard
disc elevation mechanism, so that higher bandwidth readings starve, due to
head movements away from the data partitions towards the swap partition.


Christian Bornträger
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.217 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site