[Prev][Next][Index][Thread]

Re: my 2 questions...





  Umm, I disagree. Having experience on running Unix servers on a large
scale, having one partition is bad. You thrash it, you're Linux is gone.
There are some other things that come to mind. Moreover, spreading
partitions across disks is a very good idea, having the / + swap on one
disk, and /usr + /usr/local on another disk. Assuming you're using SCSI,
or at least you use 2xIDE-masters, i.e. master on each IDE channel, and
use the 32bit option that hdparm 3.1 offers you, you will see a
performance boost almost immediately. For example, using 2xQuantum
FIREBALL 1280A, PIO4, each on one ide channel, and the 32bit option, I get
sustained transfer rates of 5.6-6.4 MB/s. 
  The last part was far off the subject, it just came to mind, anyway, at
least have a partition scheme of:

# <file sys> <m-point> <type>  <options>     <dump>  <pass>

/dev/hd??	/	ext2	defaults	0	1
/dev/hd??	none	swap	sw		0	0
proc		/proc	proc	defaults	0	0		
/dev/hd??	/usr	ext2	defaults	0	2

  I don't remember if the new file-utils use the pass/dump features, but
they should shortly.

  Ok, one last thing. If any of you ever used BSDi, you might have noticed
something called mfs (memory file system). It's used instead of /tmp, i.e.
there's a memory file system mounted on /tmp. This speeds up some things,
one of them is X. While Linux has no such thing, it does have support of
Ram Disks. I have played with making a RAM disk, making an ext2 partition
on it, and mounting it under /tmp. This has helped performance. Be
carefull when you make it, and backup your .fvwm2rc/.fvwm2rc95/.fvwmrc ,
you'll see why :))  I can send you here my config..

---cut here---

# Making a 4MB Ramdrive to be mounted on /tmp
/bin/dd if=/dev/zero of=/dev/ram count=4096 
/sbin/mke2fs -q -b 1024 -i 4096 /dev/ram 4096 

# mount file systems in fstab (and create an entry for /)
# but not NFS because TCP/IP is not yet configured
/sbin/mount -avt nonfs
/bin/chmod 1777 /tmp /var/tmp

---cut here---



   +---------------------------------------------------------+
   | Ariel Biener                                            |
   | e-mail: ariel@post.tau.ac.il        Work ph: 03-6406086 |
   +---------------------------------------------------------+


Follow-Ups: References: