>       larch% time cp /n/sources/extra/plan9.tar.bz2 /dev/null
>       0.02u 0.52s 647.90r      cp /n/sources/extra/plan9.tar.bz2 /dev/null
> 
>       larch% time fcp /n/sources/extra/plan9.tar.bz2 /dev/null
>       0.01u 0.85s 49.69r       fcp /n/sources/extra/plan9.tar.bz2 /dev/null
> 
>       larch% time hget http://plan9.bell-labs.com/sources/extra/plan9.tar.bz2 
> > /dev/null
>       0.37u 0.54s 32.84r       hget 
> http://plan9.bell-labs.com/sources/extra/plan9.tar.bz2
> 
> Mmm, HTTP does give better performance, but its not that extreme,
> and for a nightly cron script I would not worry about it.
> I admit I am surprised by how much a difference there is, it should
> be just Tread and Rread headers shouldn't it?

local weather conditions?  i get a much tighter grouping and fcp
is faster than http:

minooka; time cp /n/sources/extra/plan9.tar.bz2 /dev/null
0.00u 0.18s 343.83r      cp /n/sources/extra/plan9.tar.bz2 /dev/null
minooka; time fcp /n/sources/extra/plan9.tar.bz2 /dev/null
0.00u 0.20s 54.64r       fcp /n/sources/extra/plan9.tar.bz2 /dev/null
minooka; time hget http://plan9.bell-labs.com/sources/extra/plan9.tar.bz2 
>/dev/null
0.20u 0.20s 55.05r       hget 
http://plan9.bell-labs.com/sources/extra/plan9.tar.bz2

and for good measure:
minooka; time hget http://plan9.bell-labs.com/sources/extra/plan9.tar.bz2 > 
/n/other/quanstro/plan9.tar.bz2
0.17u 0.89s 55.37r       hget 
http://plan9.bell-labs.com/sources/extra/plan9.tar.bz2

if i do a different test where the remote as 1mb of bandwidth
(43ms ping):

ladd; time cp /n/t1/n/other/quanstro/plan9.tar.bz2 /dev/null
0.00u 0.19s 302.93r      cp /n/t1/n/other/quanstro/plan9.tar.bz2 /dev/null
ladd; time fcp /n/t1/n/other/quanstro/plan9.tar.bz2 /dev/null
0.00u 0.25s 179.87r      fcp /n/t1/n/other/quanstro/plan9.tar.bz2 /dev/null
ladd; time hget http://t1.example.com/files/extra/plan9.tar.bz2 > /dev/null
0.20u 0.24s 175.94r      hget http://t1.example.com/files/extra/plan9.tar.bz2

the original test i did was looked funny because i'd used ssl for
the import but regular http.  so the system time was skewed

i wonder if some of the really bad 9p performance could be
related to aan.  

- erik

Reply via email to