Slow rsh performance linux->solaris
I posted previously about slow rdump times from linux to solaris. I
later tried dumping a local partition to another partition on the same
linux box, and it was blazing fast with no errors. So then I just
tried sending packets from linux to (a pipe to rsh to) solaris and
timing it. In this environment, linux is butt-slow when compared to
other unices. All machines are on the same 10base-t network. Check it
out:
linux->solaris
time dd if=/dev/zero count=16384 ibs=1k | rsh ale dd of=/dev/null obs=1k
16384+0 records in
32768+0 records out
24459+10016 records in
16384+0 records out
real 1m27.993s
user 0m0.290s
sys 0m0.790s
solaris->solaris (two different boxes):
time dd if=/dev/zero count=16384 ibs=1k | rsh ale dd of=/dev/null obs=1k
16384+0 records in
32768+0 records out
32768+0 records in
16384+0 records out
real 0m17.389s
user 0m1.814s
sys 0m6.696s
aix->solaris
# time dd if=/dev/zero count=16384 bs=1k | ( rsh ale 'dd of=/dev/null bs=1k' )
16384+0 records in.
16384+0 records out.
11491+11492 records in
11491+11492 records out
real 0m15.27s
user 0m0.12s
sys 0m1.27s
Any ideas as to why rsh/rdump are so slow? If I rcp files from this
linux box to that solaris box it's quite fast, same with ftp.
morgan
P.S. Would have tried the same thing with hpux, but no /dev/zero.
--
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
>> M o r g a n F l e t c h e r http://www.hahaha.org <<
>> Tibi gratias agimus quod nihil fumas. morgan@hahaha.org <<
Reply to: