Switch vs. Router?

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Switch vs. Router?

Postby moredruid » Fri Dec 04, 2009 12:31 pm

lemme see

first let's check disk write performance:

Code: Select all

dd if=/dev/zero count=2000000 of=zerofile.bin 2000000+0 records in 2000000+0 records out 1024000000 bytes (1.0 GB) copied, 15.7361 s, 43.1 MB/s
oh wait, I'm unrarring 3 ISO's over the network :oops:

check again:

Code: Select all

dd if=/dev/zero count=2000000 of=zerofile.bin 2000000+0 records in 2000000+0 records out 1024000000 bytes (1.0 GB) copied, 15.7361 s, 77.6 MB/s
ftp winxp client from hda: get zerofile.bin
1GB transfer is done in about 20 seconds translating to ~50MB/s

ftp imac to hda: get zerofile.bin
1024000000 bytes received in 00:18 (52.07 MB/s)
scp imac from hda: scp me@hda:/var/hda/files/zerofile.bin .
zerofile.bin 100% 977MB 39.1MB/s 00:25

whoa around 10MB/s overhead for encryption.

I'll reboot to linux on my desktop (now winxp) and post the results of that as well.
edit:
Linux results
scp desktop from hda: scp me@hda:/var/hda/files/zerofile.bin .
zerofile.bin 100% 977MB 39.3MB/s 00:25
ftp desktop to hda: get zerofile.bin
1024000000 bytes received in 14.7 secs (68.04 MB/s)

personally I think a higher speed should be possible, however the link is usually not saturated by only 1 connection (you need to tweak some kernel parameters for that to happen), which is a good thing.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

rampage537
Posts: 124
Joined: Mon Jun 29, 2009 9:41 am
Location: Hazel Park, MI
Contact:

Re: Switch vs. Router?

Postby rampage537 » Fri Dec 04, 2009 9:55 pm

Man I need to get a better hard drive for my OS

This is my old 60GB IDE that has my OS on it

Code: Select all

[root@home ~]# dd if=/dev/zero count=2000000 of=zerofile.bin 2000000+0 records in 2000000+0 records out 1024000000 bytes (1.0 GB) copied, 82.781 s, 12.4 MB/s
This is the new 1TB SATA drive, what a difference

Code: Select all

[root@home files]# dd if=/dev/zero count=2000000 of=zerofile.bin 2000000+0 records in 2000000+0 records out 1024000000 bytes (1.0 GB) copied, 11.9445 s, 85.7 MB/s
I will get the speed results later from each of the computers and post those.
Testmaster Manager
Amahi HDA Custom Dual 2.7 GHz, 3 GB DDR2 (667MHz) Ram, 80GB HDD for OS + 1TB and 320GB HDD for Share Drives

Who is online

Users browsing this forum: No registered users and 65 guests