Re: UFS block size vs. write speed

2001-04-24 Thread Bob Bishop
Hi, At 11:35 24/04/01 +0200, Niek Bergboer wrote: [...] In fact, I couldn't care less if the allocated blocks contain random data (rather than zeros), since I'll be overwriting them immediately. You *should* care: the blocks are zeroed for security reasons. -- Bob Bishop +44

Re: UFS block size vs. write speed

2001-04-24 Thread Mike Silbersack
On Tue, 24 Apr 2001, Niek Bergboer wrote: On Mon, Apr 23, 2001 at 12:09:26PM -0500, Mike Silbersack wrote: On Mon, 23 Apr 2001, Niek Bergboer wrote: I've implemented a quick hack on the BSD ftp-client: in the original recv-file function data is read from a socket into a buffer, which

Re: UFS block size vs. write speed

2001-04-24 Thread Peter Pentchev
On Tue, Apr 24, 2001 at 10:43:29AM +0100, Bob Bishop wrote: Hi, At 11:35 24/04/01 +0200, Niek Bergboer wrote: [...] In fact, I couldn't care less if the allocated blocks contain random data (rather than zeros), since I'll be overwriting them immediately. You *should* care: the blocks

Re: UFS block size vs. write speed

2001-04-23 Thread Niek Bergboer
On Fri, Apr 20, 2001 at 05:54:26AM -0700, Alfred Perlstein wrote: PS: The tests were already done with the fs mounted async. The drive in question communicates at UDMA/33 on a PIIX4 controller in an AMD K6/2 233 system. It's funny, but you have the ideal system for an interesting

Re: UFS block size vs. write speed

2001-04-23 Thread Mike Silbersack
On Mon, 23 Apr 2001, Niek Bergboer wrote: I've implemented a quick hack on the BSD ftp-client: in the original recv-file function data is read from a socket into a buffer, which is then written to a file. I've mmap-ed the file, and rather than reading from the socket into the buffer, I read

Re: UFS block size vs. write speed

2001-04-21 Thread David O'Brien
On Fri, Apr 20, 2001 at 07:52:03AM -0700, Alfred Perlstein wrote: Soft updates isn't an "async" or "sync" thing. It combines synchronous and asynchronous transfers. If I'm not mistaken, all metadata is synchronously written, and all data is asynchronously written. You're mistaken, what

UFS block size vs. write speed

2001-04-20 Thread Niek Bergboer
Hello, I've got a machine connected to a 100 MBit/FDX network and I would like to store largish (~20 MB or bigger) files on it that are downloaded from the network over a dc card. The only consideration here is speed since the files are all temporary. I'm running FreeBSD 4.3-RC1. The dc card

Re: UFS block size vs. write speed

2001-04-20 Thread Alfred Perlstein
ugh, dude, please wrap lines at 70 characters. :( * Niek Bergboer [EMAIL PROTECTED] [010420 05:43] wrote: Hello, I've got a machine connected to a 100 MBit/FDX network and I would like to store largish (~20 MB or bigger) files on it that are downloaded from the network over a dc card. The

Re: UFS block size vs. write speed

2001-04-20 Thread Niek Bergboer
On Fri, Apr 20, 2001 at 05:54:26AM -0700, Alfred Perlstein wrote: * Niek Bergboer [EMAIL PROTECTED] [010420 05:43] wrote: b.) Are there other newfs options that I can use to increase throughput? Have you tried softupdates? Isn't it true that softupdates only work when filesystems are mounted

Re: UFS block size vs. write speed

2001-04-20 Thread Alfred Perlstein
you really need to try harder to wrap lines properly. * Niek Bergboer [EMAIL PROTECTED] [010420 06:17] wrote: On Fri, Apr 20, 2001 at 05:54:26AM -0700, Alfred Perlstein wrote: * Niek Bergboer [EMAIL PROTECTED] [010420 05:43] wrote: b.) Are there other newfs options that I can use to

Re: UFS block size vs. write speed

2001-04-20 Thread Andrew Hesford
On Fri, Apr 20, 2001 at 03:20:29PM +0200, Niek Bergboer wrote: Isn't it true that softupdates only work when filesystems are mounted sync? Or does it also improve performance when filesystems are mounted async? The other guy was right; you really do need to wrap text at around 70 lines (I