The Traders' Den  

  The Traders' Den > Where we go to learn ..... > Technobabble
 

Notices

Technobabble Post your general Need for Help questions here.
Lossy or Lossless?
Moderators

Reply
 
Thread Tools
  #1  
Old 2011-07-28, 01:20 AM
tonebloke's Avatar
tonebloke tonebloke is offline
491.13 GB/783.96 GB/1.60
 
Join Date: May 2009
How USB works?

I've been wondering about this so.......this is for the extreme techs out there.

When using a USB hub; if you have 2 external drives connected to it, and you want to transfer data from one to the other, does the data go from one external via the main C: drive to the other or does it go straight from external A to external B?

Just wondering.
__________________
" Your tin cup and string "recorder" is worse than a Zoom, which is saying a lot".
Reply With Quote Reply with Nested Quotes
  #2  
Old 2011-07-28, 01:24 AM
paddington's Avatar
paddington paddington is offline
crumpet-stuffer
TTD Staff
87.48 GB/884.33 GB/10.11
 
Join Date: Jan 2005
Location: UK
Re: How USB works?

Depends on your OS and how the drives are seen by it.

Many times, the removeable drives' file operations will be cached by the OS - the OS cache usually resides on the C: drive with the OS. This is why you should always "stop" the devices before you unplug them... this forces the OS to write any remaining data it has buffered to the intended destination.


If you have a USB hub w/ two drives on it and you copy files between them, there is an excellent chance the file data is being cached on the C:\ drive during the operation.
__________________
"There are some of these recordings where it is just a whirring, and you cannot hear the music. " - Jimmy Page, 2007 / JUL / 26
Reply With Quote Reply with Nested Quotes
  #3  
Old 2011-07-28, 07:39 AM
direwolf-pgh's Avatar
direwolf-pgh direwolf-pgh is offline
On the Beach
666.18 GB/1.29 TB/1.99
 
Join Date: Dec 2005
Location: down in the basement
Re: How USB works?

http://www.beyondlogic.org/usbnutshell/usb1.shtml
Reply With Quote Reply with Nested Quotes
  #4  
Old 2011-07-28, 11:29 PM
tonebloke's Avatar
tonebloke tonebloke is offline
491.13 GB/783.96 GB/1.60
 
Join Date: May 2009
Re: How USB works?

OK, thanks. That pretty much answers my question.

Interesting read direwolf - but too much information for a semi-tech.
__________________
" Your tin cup and string "recorder" is worse than a Zoom, which is saying a lot".
Reply With Quote Reply with Nested Quotes
  #5  
Old 2011-07-28, 11:39 PM
direwolf-pgh's Avatar
direwolf-pgh direwolf-pgh is offline
On the Beach
666.18 GB/1.29 TB/1.99
 
Join Date: Dec 2005
Location: down in the basement
Re: How USB works?

it goes device A to device B

USB data packets are not unlike ethernet packets when it comes to hard drives/data transfer
its handled by the southbridge IC controllers / CRC integrity ..and all that happiness.
in fact, your usb hub adds another controller.
Reply With Quote Reply with Nested Quotes
  #6  
Old 2011-07-28, 11:59 PM
paddington's Avatar
paddington paddington is offline
crumpet-stuffer
TTD Staff
87.48 GB/884.33 GB/10.11
 
Join Date: Jan 2005
Location: UK
Re: How USB works?

Quote:
Originally Posted by direwolf-pgh View Post
it goes device A to device B

USB data packets are not unlike ethernet packets when it comes to hard drives/data transfer
its handled by the southbridge IC controllers / CRC integrity ..and all that happiness.
in fact, your usb hub adds another controller.

unless they are seen by the Windows OS as removeable and "optimized for Better Performance"... then it buffers the transfer. in buffering, the OS may use the cache.

if you want to avoid the caching, you can choose to "optimize for quick removal", instead, which will write directly to the device without caching - but generally will actually slow down the transfer.


read more
__________________
"There are some of these recordings where it is just a whirring, and you cannot hear the music. " - Jimmy Page, 2007 / JUL / 26
Reply With Quote Reply with Nested Quotes
  #7  
Old 2011-07-29, 12:17 AM
direwolf-pgh's Avatar
direwolf-pgh direwolf-pgh is offline
On the Beach
666.18 GB/1.29 TB/1.99
 
Join Date: Dec 2005
Location: down in the basement
Re: How USB works?

read it. that cache is for 'common requested OS tasks'.. not data transfer.
can you imagine all the thrashing that would occur on a 16GB transfer. yikes!
Reply With Quote Reply with Nested Quotes
  #8  
Old 2011-07-29, 01:25 AM
paddington's Avatar
paddington paddington is offline
crumpet-stuffer
TTD Staff
87.48 GB/884.33 GB/10.11
 
Join Date: Jan 2005
Location: UK
Re: How USB works?

not directly... but where is it buffering to, if not RAM? If the OS is buffering to RAM, wouldn't some of that end up in the swapfile?
__________________
"There are some of these recordings where it is just a whirring, and you cannot hear the music. " - Jimmy Page, 2007 / JUL / 26
Reply With Quote Reply with Nested Quotes
Reply

The Traders' Den > Where we go to learn ..... > Technobabble

Similar Threads
Thread Forum Replies Last Post
Please help me understand how this works! - Chris Technobabble 3 2008-12-19 10:41 AM
Firewalled--nothing works - Jeff B Technobabble 7 2007-06-01 11:53 PM


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forums


All times are GMT -5. The time now is 04:59 AM.


Powered by: vBulletin, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - , TheTradersDen.org - All Rights Reserved - Hosted at QuickPacket