You are not logged in.

#1 2012-10-28 05:10:26

jiewmeng
Member
Registered: 2012-02-09
Posts: 117

Debugging why my recent install (with new media) and on SSD is slow

I recently installed Arch Linux (with new install media) and on a new SSD (Crucial M4) seems to be sluggish suddenly (UI hangs for 1s and stuff). I read and followed some of the recommendations for Optimization on Arch Wiki, not sure if I did so correctly and perhaps I made a mistake somewhere. Below are some information that might help

[jiewmeng@JM ~]$ free 
             total       used       free     shared    buffers     cached
Mem:       8136804    7966616     170188          0      30808    5959252
-/+ buffers/cache:    1976556    6160248
Swap:            0          0          0
top - 13:03:42 up  2:14,  1 user,  load average: 2.23, 2.52, 2.52
Tasks: 166 total,   1 running, 165 sleeping,   0 stopped,   0 zombie
%Cpu(s):  2.3 us,  1.1 sy,  0.0 ni, 67.7 id, 28.8 wa,  0.0 hi,  0.2 si,  0.0 st
KiB Mem:   8136804 total,  7968060 used,   168744 free,    30852 buffers
KiB Swap:        0 total,        0 used,        0 free,  5962340 cached
# SSD
LABEL=linux         	/         	ext4      	rw,relatime,discard,data=ordered	0 2
LABEL=boot          	/boot     	ext2      	rw,relatime,discard	0 2

# HDD
LABEL=home          	/home     	ext4      	rw,noatime,data=writeback	0 2
/dev/sdc2		/var/log	ext4		rw,noatime,data=writeback	0 2
LABEL=var_tmp       	/var/tmp  	ext4      	rw,noatime,data=writeback	0 2
/dev/sdb6		/labs		ext4		defaults,noatime,data=writeback	0 2
/dev/sdc4		/archives		ext4		defaults,noatime,data=writeback	0 2

# tmpfs
tmpfs   /tmp         tmpfs   nodev,nosuid                  0  0

I haven't set up swap space does it matter? Free seems to tell me I have enough free RAM?

Oh I also noticed either noatime and/or data=writeback on / (linux partition) seems to cause Arch to boot in read only mode?

What other information might you need? Or what should I do?

I also changed the cache pressure to 50 and swappiness to 1

I notice windows takes about 5-6 sec (fresh install) to boot from after POST into Desktop. But Arch takes slighly more ~10s to get to LXDM login screen (did have packages installed already). This is unexpected!

Last edited by jiewmeng (2012-10-28 05:11:29)


Computer Science Student, Web Developer

Offline

Board footer

Powered by FluxBB