Ramdisk
Hi,
I am using opennms on a 64 bit centos5 machine, its postgres installed separate file system, when i start opennms and postgres its load avrage goes to abmormal and mechine responce is too slow. and its iostats show 100%
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
sda2 0.00 153.40 244.40 106.40 3131.20 2001.60 14.63 119.35 323.82 2.85 100.02
To double check it have setup a 16 GB ram disk and move the database data on it but still its var shows 100%
Have some body any idea how ramdisk is work or i am missing any thing, following is the ram disk configuration
#mkfs -q /dev/ram1 15728640
#mount /dev/ram1 /mnt/rd
# pwd
/var/lib
#mv pgsql /mnt/rd/
#ln -s /mnt/rd/pgsql ./
Thanks
Mudasar
|