LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   why copy in linux is slowly? (https://www.linuxquestions.org/questions/linux-general-1/why-copy-in-linux-is-slowly-353801/)

Barq 08-16-2005 08:46 AM

why copy in linux is slowly?
 
Hello
why copy in linux is slowly than windows?

jtshaw 08-16-2005 09:03 AM

You could have DMA disabled on your hard drive. If you type "hdparm <hddevice>" does it say that DMA is enabled?

Example:
Code:

jshaw ~ # hdparm /dev/hda

/dev/hda:
 multcount    = 16 (on)
 IO_support  =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly    =  0 (off)
 readahead    = 256 (on)
 geometry    = 65535/16/63, sectors = 78140160, start = 0


The only other thing I can think of is that Windows might not being syncing the file system while copying while linux does (or data consistency reasons).

Barq 08-16-2005 10:01 AM

yes-it is already enable

trickykid 08-16-2005 10:19 AM

Quote:

Originally posted by Barq
yes-it is already enable
So any other information you want to provide? What your asking is kind of like asking "why is the other car faster than mine? tell me now!" With no other information provided as it could be a plethora of things, but since we're not psychic and can't guess of what hardware is used, if it's over a network connection, what type of network, how your copying the data, what commands are being used and probably a dozen other things that could be the real issue, we simply just don't know!

jonaskoelker 08-16-2005 01:03 PM

Quote:

a dozen other things
not to mention how much free memory you have left, how big the files are, how full the devices are, which file systems you're using, how fast your processor are, which other processes are running.

Try monitoring ram (space), cpu and disk (speed/work) usage while copying. See also man 1 top.

hth --Jonas


All times are GMT -5. The time now is 03:52 AM.