500 meg ram disk: Difference between revisions
From Federal Burro of Information
Jump to navigationJump to search
(New page: From: David Thornton<br> Sent: Friday, May 11, 2001 4:07 PM<br> To: 'Peter Scheffler' (E-mail)<br> Subject: config change<br> so the ram went in no problem. The config was changed as foll...) |
No edit summary |
||
Line 102: | Line 102: | ||
me: dthornton@birdonawire.com<br> | me: dthornton@birdonawire.com<br> | ||
support: support@birdonawire.com<br> | support: support@birdonawire.com<br> | ||
Kernel: ramdisk_size=500000 | |||
[[Category:Linux]] | [[Category:Linux]] | ||
[[Category:Postfix]] | [[Category:Postfix]] |
Revision as of 20:18, 4 July 2011
From: David Thornton
Sent: Friday, May 11, 2001 4:07 PM
To: 'Peter Scheffler' (E-mail)
Subject: config change
so the ram went in no problem. The config was changed as follows:
changed:
queue_directory = /var/ramdisk/0queue
to:
queue_directory = /var/ramdisk/group1/0queue
- group 1 server 0-3
- group 2 server 4-6
- group 3 server 7,8
changed /etc/rc.d/rc.local
from:
# create ramdisk echo making ram disk /sbin/mke2fs -m0 /dev/ram 500000
to:
# create ramdisk echo making ram disk /sbin/mke2fs -m0 /dev/ram0 525000 /sbin/mke2fs -m0 /dev/ram1 525000 /sbin/mke2fs -m0 /dev/ram2 525000
from:
# mount ramdisk echo mounting ram disk mount /dev/ram /var/ramdisk
to:
# mount ramdisk echo mounting ram disk mount /dev/ram0 /var/ramdisk/group1 mount /dev/ram1 /var/ramdisk/group2 mount /dev/ram2 /var/ramdisk/group3
changed:
# make the queue dirs # as a note. at any given time, utilization of the ramdisk was never more then 10% echo making queue dir mkdir /var/ramdisk/0queue mkdir /var/ramdisk/1queue mkdir /var/ramdisk/2queue mkdir /var/ramdisk/3queue mkdir /var/ramdisk/4queue mkdir /var/ramdisk/5queue mkdir /var/ramdisk/6queue mkdir /var/ramdisk/7queue mkdir /var/ramdisk/8queue
to:
# make the queue dirs # as a note. at any given time, utilization of the ramdisk was never more then 10% echo making queue dir mkdir /var/ramdisk/group1 mkdir /var/ramdisk/group2 mkdir /var/ramdisk/group3 mkdir /var/ramdisk/group1/0queue mkdir /var/ramdisk/group1/1queue mkdir /var/ramdisk/group1/2queue mkdir /var/ramdisk/group1/3queue mkdir /var/ramdisk/group2/4queue mkdir /var/ramdisk/group2/5queue mkdir /var/ramdisk/group2/6queue mkdir /var/ramdisk/group3/7queue mkdir /var/ramdisk/group3/8queue
change lilo:
from:
image=/boot/vmlinuz-2.2.14-5.0smp label=linuxram initrd=/boot/initrd-2.2.14-5.0smp.img read-only root=/dev/rd/c0d0p1 ramdisk=500000
to:
image=/boot/vmlinuz-2.2.14-5.0smp label=linuxram initrd=/boot/initrd-2.2.14-5.0smp.img read-only root=/dev/rd/c0d0p1 ramdisk=525000---
David Thornton
Bird on a Wire Networks
http://www.birdonawire.com
me: 905 896 6263
support: 905 896 6370 option 2
me: dthornton@birdonawire.com
support: support@birdonawire.com
Kernel: ramdisk_size=500000