DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-05-31 03:26:15

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Dumb question...USB 2.0 on the DNS-323?

I don't know what the unit price differential is, but I sure wish Dlink had gone w/a USB 2.0 port on the DNS-323.  The slow file transfer speed from the DNS-323 to an attached USB drive is a bit annoying...  smile 

I presume it would be a unrealistic to try to replace the USB 1.1 port on the DNS-323 with a USB 2.0 port, right? 

Thanks.


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#2 2007-05-31 03:38:15

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Dumb question...USB 2.0 on the DNS-323?

Remember - it's supposed to be a printer port - how faster do you need it to be wink

Offline

 

#3 2007-05-31 03:40:33

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: Dumb question...USB 2.0 on the DNS-323?

fordem wrote:

Remember - it's supposed to be a printer port - how faster do you need it to be wink

I know...but hey, it's partly your "fault" I've been able to add the usb-storage module and hook up a USB drive to it!   smile


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#4 2007-06-02 19:21:45

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Dumb question...USB 2.0 on the DNS-323?

I've been looking at the available information on the DNS-323 and the Marvell silicon that it's built around,  I haven't found anything definitive but all the writeups that I've seen on the Marvell 88F5181 processor suggest it does include USB 2.0.

This morning I was looking at the DMESG.OUT file and found a reference to a Marvell USB EHCI Controller #0 (EHCI or Enhanced Host Controller Interface is the USB 2.0 spec) and lower down

ehci_platform ehci_platform.20865: EHCI Host Controller
ehci_platform ehci_platform.20865: new USB bus registered, assigned bus number 1
ehci_platform ehci_platform.20865: irq 17, io mem 0x00000000
ehci_platform ehci_platform.20865: park 0
ehci_platform ehci_platform.20865: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected

Which again points to USB2.0 hardware being present.

Among my USB flash drives is an IBM USB 2.0 one that lights orange for USB2.0 and green for USB 1.x - when I plug this into the USB port, it lights orange, further confirming that it is USB2.0.

Transferring a 72 MB file from the USB key to one of the disks in the DNS-323 using cp took about 7 seconds for the telnet prompt to return.  10MB/sec works out to around 80 mbps, way over your 12 mbps USB1.1 speed - for further confirmation, I connected the USB key through a USB hub, got the green light on the flash drive confirming the expected USB 1.x connection and the same copy took almost 70 seconds or roughly 8 mbps - a little under the 12 mbps USB 1.1 spec, but above the 1.5 mbps USB 1.0 spec.

I think we can conclude that it is a USB2.0 port.

Last edited by fordem (2007-06-02 19:50:09)

Offline

 

#5 2007-06-02 22:13:56

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: Dumb question...USB 2.0 on the DNS-323?

Thanks for all the details, fordem...that's very interesting...good sleuthing. 

The last time I copied files from the DNS-323 to a connected USB drive it seemed slower than copies to other USB drives connected to my computer.  Your numbers seem to confirm that my perceptions were incorrect.  I'll have to try another drive (I'm using an older 80GB drive in the enclosure, and comparing it to a newer 200+GB drive may not be fair...


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#6 2007-06-02 22:54:39

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Dumb question...USB 2.0 on the DNS-323?

Actually that may be a function of how your copy was done - if it was through Windows Explorer, you would have transferred the data across the network coming and going and possibly limiting the speed to that of your network.

When I tested, I deliberately used cp from a telnet prompt to keep the data within the DNS-323

Offline

 

#7 2007-06-02 23:03:07

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: Dumb question...USB 2.0 on the DNS-323?

OK...thanks for clarifying that.  It was a copy via Windows.  I still haven't updated to a gigabit router (gotta space this stuff out or my wife gets a bit testy).  smile

Just sent you an email, BTW.


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#8 2007-06-03 00:47:56

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Dumb question...USB 2.0 on the DNS-323?

Don't forget the network card in the PC - it might be cheaper to just pickup a gigabit switch, a little 5 port Netgear GS105 or similar - and just so you're aware of it, you won't see more than around 170 mbps throughput from the DNS-323 on gigabit

Personally I think gigabit LANs are overkill for home networks unless you've got lot extensive video/audio collections that you plan on moving around frequently - you'll see >90 mbps on an average 100 mbps LAN, but rarely more than 200~300 mbps on gigabit unless the computers themselves have RAID and high performance disk subsystems.

Look at it like this - if I moved 13 GB in 30 minutes on my 100 mbs LAN, it would only take 10 minutes if I switched to gigabit, saving me 20 minutes, which can seem like an eternity if you're sitting waiting - but - how often do I actually do that?  Very rarely.  The solution, go get a cup of coffee or something during the file transfer.

Offline

 

#9 2007-06-03 03:00:39

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: Dumb question...USB 2.0 on the DNS-323?

I actually do have a gigabit switch...got the Dlink as a matter of fact.  But since my router is 100 mbps, I thought that meant my overall speed is limited to 100.  (I also have a gigabit network card in my main desktop, upgrade to gigabit router will likely be the netgear or the dlink, depending on reviews.) 

So how would I set things up to profit from my gigabit switch now in terms of more speed?  Is it as simple as putting the DNS-323 on the switch...if I do that, will copies to the USB drive move faster?

Last edited by DNS-323 Talker (2007-06-03 03:27:04)


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#10 2007-06-03 04:08:41

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Dumb question...USB 2.0 on the DNS-323?

When you say a 100 mbps router, I assume you mean a typical router with 100 mbps switch - traffic between devices connected to that switch will be limited to 100 mbps.  If you connect a gigabit switch to that router, traffic that has to pass through the router will still be limited to 100 mbps, but traffic between devices directly connected to the gigabit switch will not have that limit.

If you don't have the DNS-323 connected to the gigabit switch, I would do that as a first step - I'd estimate your transfer speeds between the desktop and the DNS-323's internal drive to show as much as a 100% improvement.

I don't know if you'll see any improvement with transfers through the USB port, but I don't see why not - the transfer speeds will be as fast as the slowest interface in the chain - you're going from one hard drive, through some sort of ATA/USB converter, through the processor in the DNS-323, across the network, through the PC, and then either to the drive in the PC or back across the network to the DNS-323.  Without testing, it's hard to say where the chokepoint will be, and even something like fragmentation on the disks can have an impact.

Offline

 

#11 2007-06-03 06:42:59

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: Dumb question...USB 2.0 on the DNS-323?

Thanks, fordem...you've got it right, I think.  I have a Netgear router w/a 10/100 mbps switch (the WNR834B http://www.amazon.com/Netgear-WNR834B-R … mp;sr=8-24)...has 4 10/100 LAN ports and 1 10/100 WAN port. 

The Dlink 10/100/1000 switch is "fed" from the Netgear router...one of the four LAN ports on the Netgear provides the signal to the Dlink, so I have a feeling the Dlink is going to be limited to 100, since the netgear is connected to it.

I don't know of any way to feed a signal to the Dlink switch that doesn't come from a 100 mpbs source, since I want all my network devices to be "behind" the router...

Regarding speeding things up...if I connected my primary desktop and the DNS-323 both to the switch, it sounds like they would have gigabit speed between themselves, since traffic between them (and traffic between the DNS-323 and connected USB drivs) would not have to go through the router?  Is that correct?  I had thought that all traffic ended up going through the router no matter where it is connected (my assumption, based on no technical knowledge).

Last edited by DNS-323 Talker (2007-06-03 06:49:54)


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#12 2007-06-03 07:04:27

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: Dumb question...USB 2.0 on the DNS-323?

BTW, fordem, I just noticed this in the Status tab of the router setup GUI: 

PRINTER INFO :
Manufacturer:  Cypress Semiconductor
Product:  USB2.0 Storage Device

smile


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#13 2007-06-03 09:34:21

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: Dumb question...USB 2.0 on the DNS-323?

Well, I connected the DNS-323 and my desktop to the Dlink 10/100/1000 switch, and copied  a 17 MB file...took 5s, using Windows explorer.  That means 3.4 MB/s.   So using your math above, that would mean about 28 mbps, right?

My network connection icon in the system tray on the desktop computer reads 1Gbps when I hover the mouse cursor over it...sounds nice.  smile


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

#14 2007-06-03 16:58:49

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Dumb question...USB 2.0 on the DNS-323?

Let me try my hand at ASCII graphics -

For the purpose of this discussion, the Netgear router has a 10/100 mbps switch, and both PC1 & PC2 have gigabit ethernet cards.

   Internet
       |
       |
NETGEAR ROUTER
    '              '
    '              '
    '              '
PC1            '
                   '
                   '
D-Link GbE Switch
   "              "
   "              "
   "              "
PC2        DNS323


Transfers between PC1 and either PC2 or the DNS323 can not be more than 100 mbps because that is the maximum speed of the Netgear switch, however they can be less than 100 mbps depending on the devices involved - in my tests the DNS-323 has been the limiting factor at around 70 mbps, with a PC1 to PC2 transfer hitting as much as 98 mbps.

Transfers between PC2 and the DNS323 can be more than 100 mbps, as this does not have to pass through the Netgear switch - again, they can be less, and in my tests the DNS-323 has also been the limiting factor at around 150 mbps.

The entire network is behind the Netgear router and protected by the firewall in the router - transfers from the internet to any connected device are limited usually be the speed of the internet connection, although I have heard of instances where with high speed broadband, the processing power of the firewall has been the limit.

As regards your speed test - I think you need to use larger files, as there will be some overhead required to position disk heads, create allocation table entries etc.

Offline

 

#15 2007-06-03 18:16:59

DNS-323 Talker
Member
Registered: 2007-05-21
Posts: 245

Re: Dumb question...USB 2.0 on the DNS-323?

Excellent...ascii graphics and all, that is very clear.   I'm actually going to show it to my wife, as she has asked "Why did we need that new Dlink thingy?"  She likes speed, and is the primary user of the main desktop pc connected to the dlink switch w/the DNS-323, where all her data is.  Even if she doesn't notice the change, if I tell her it's faster, then she'll think she notices it...  <evil grin> 

Thanks, fordem...honorary professorship is in the mail!


DNS-323 w/two Seagate 500 GB RAID1
Fonz's Fun_Plug- Don't DNS-323 without it!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB