Re: Speeding up netatalk


Subject: Re: Speeding up netatalk
From: Sak Wathanasin (sw@nan.co.uk)
Date: Mon Apr 17 2000 - 16:03:53 EDT


In reply to Marcus Radich's message of the 16/04/00 at 10:51 +1200,

>Celeron 400
>VIA 133pro chipset motherboard
>128MB RAM
>Ultra33
>IBM 13GB IDE disk
>
>/dev/hda:
> Timing buffer-cache reads: 128 MB in 3.11 seconds =41.16 MB/sec
> Timing buffered disk reads: 64 MB in 8.21 seconds = 7.80 MB/sec
>
>Using Helios Lantest, I get 6MB/sec read/writes.
>
>Copying a folder of over 3000 files shows about 2MB/sec....

I don't if this is generally known, but if you're not running a very
recent kernel (2.3.x), UDMA (33, 66) isn't enabled by default. Try
adding the following to your rc.local script and rebooting:

        hdparm -c1 -u1 -d1 -m16 /dev/hda

On my systems (PIII/500, VIA IDE chipset, ATA/33 disk, 5400 rpm), the
hdparm disk-read went from about 4 MB/sec to 14+ MB/sec when I did
this; Lantest now reports file xfer times around 9000 kbytes/s. YMMV.

-- 
Sak Wathanasin
Network Analysis Limited
178 Wainbody Ave South, Coventry CV3 6BX, UK

Internet: sw@nan.co.uk Phone: (+44) 2476 419996 Mobile: (+44) 7970 751912 Fax: (+44) 2476 690690



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:29 EST