Subject: MFS trouble
To: None <current-users@NetBSD.org>
From: Ong Beng Hui <ongbh@ispworkshop.com>
List: current-users
Date: 05/24/2004 18:12:39
Hi,

Please advise if this is the correct place to post this question.

I am testing NetBSD 1.6.2 on a P3 1G, 512M memory

I find that mfs, memory file system is significant slower than my old
6G harddisk. Please advise.

using MFS,

bash-2.04# ./Bonnie -d /etc/dnscache/log/main/ -s 10
File '/etc/dnscache/log/main//Bonnie.5474', size: 10485760
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
              -------Sequential Output-------- ---Sequential Input-- 
--Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- 
--Seeks---
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  
/sec %CPU
           10 25679 69.0 46927 57.4 51759 69.2 33205 99.9 180558 100.0 
9496.9 92.2

using FFS on 6G old seagate harddisk. This is really old 5400rpm type of 
harddisk.

bash-2.04# ./Bonnie -s 10
File './Bonnie.5478', size: 10485760
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
              -------Sequential Output-------- ---Sequential Input-- 
--Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- 
--Seeks---
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  
/sec %CPU
           10 39147 86.8 96543 75.8  9373  8.1  8407 25.5 318289 100.0 
3713.0 19.9

Any reason why it is so ? please advise.