To fix the issue(system freeze when copy large file) i changed the scheduler from cfq
to deadline
. I am not sure that scheduler affect the swap uses or not. I have 8 GB of ram, 2.0 GHz corei7
processor and 8 GB swap. swappiness
value is low but Ubuntu still using 10 MB swap space and system stuck when try to switch the windows. I have attached a screenshot of gnome-system-monitor
. I was downloading 4-5 large files( >=1.5 GB <= 4.0 GB) and watching a 720p movie using gnome-mplayer.
cat /sys/block/sda/queue/scheduler
noop [deadline] cfq
cat /proc/sys/vm/swappiness
10
sudo hdparm -I /dev/sda
ATA device, with non-removable media
Model Number: WDC WD10JPVX-80JC3T0
Serial Number: WD-WX11AA3E8770
Firmware Revision: 01.01A01
Transport: Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Supported: 9 8 7 6 5
Likely used: 9
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63