On Tue, Apr 30, 2002 at 07:32:26PM -0400, Brian Tao wrote:
I just had a similar problem that my SE solved for me. For me it was Sun's/NetApps nfs over udp issue. On writes I got nice speed, 200m mkfile in 2-4 seconds.
200 megabytes in 2 to 4 seconds, meaning 50 to 100MB/sec writes?!
What kind of Sun and what kind of Netapp?
I think his mkfile was actually open(); truncate(); close(); which writes close to ligthspeed fast with any file size. ;)
Solaris mkfile(1m) will do that (well, roughly) only if -n is specified. By default it writes the whole file with zeros, with the intent to force allocation of all blocks. That's what it was designed for: specifically, initialising swap files.
Chris Thompson Email: cet1@cam.ac.uk