Subject: Re: ANS500 and HPT366 performance
To: NetBSD port-macppc <port-macppc@netbsd.org>
From: Marton Fabo <morton@eik.bme.hu>
List: port-macppc
Date: 01/10/2003 14:15:32
>>So, it transmits ~4MB/sec when writing to a file, and ~3MB/sec when 
>>reading it back. This is reproducible. I find this quite slow.
>>
>>In addition, when transferring files through FTP or AppleShare between 
>>this host and a G4 box through 100baseTX network, the transfer speed 
>>doesn't go above 2MB/sec either in or out. The ftpd daemon eats about 
>>96% of CPU time while transferring.
> 
> 
> How much time is being spend in system ?
> Any chances to try a current kernel ? There may have been some improvevent
> in ppc code that could help

Does the output below tell any valuable new info? How could I further
refine where the bottleneck is?...

thx
mortee

PS.: don't be confused by the dec. 7 2002 date shown in the uname
output, the clock was set wrong. it's jan. 6 -current source compiled at
jan. 9

[root@hokedli:/melo | 01/10 14:00:10]
# uname -a
NetBSD hokedli 1.6L NetBSD 1.6L (GENERIC) #0: Sat Dec  7 16:22:17 CET
2002
root@hokedli:/melo/NetBSD-1.6/src/obj/sys/arch/macppc/compile/GENERIC macppc
[root@hokedli:/melo | 01/10 14:00:17]
# time dd if=/dev/zero of=testfile bs=1m count=300
300+0 records in
300+0 records out
314572800 bytes transferred in 79.547 secs (3954552 bytes/sec)
    79.58s real     0.02s user    77.20s system
[root@hokedli:/melo | 01/10 14:01:47]
# time dd if=testfile of=/dev/null
614400+0 records in
614400+0 records out
314572800 bytes transferred in 104.508 secs (3010035 bytes/sec)
   104.53s real     6.27s user    94.38s system