Ubuntu - File Copy Seems Resource Intensive

Gabriel M Dragffy dragffy at yandex.ru
Tue Jul 18 06:59:50 UTC 2006


Hey I didn't really feel I had a problem with my hard drive speed, I'm
running a sony vaio which I bought new last year and it's pretty sweet.
But I ran your command for the hell of it (the benchamark) and then
hdparm -c1 -m16 -d1 /dev/hda, and did the benchmark again using sudo
hdparm -tT /dev/hda. WOW! It doubled all of my results! I'm very
impressed. Seems like my hard drive makes a lot less scratching noise
when I open an app, maybe it's all in my head, but the benchmark is
sweet. Went from 25mb/s to nearly 50 wohoo. Cheers

On Mon, 2006-07-17 at 17:34 +0200, Lea Gris wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Gregory Piñero a écrit :
> > On 7/17/06, Paul Puschmann <lnx at uzulabs.net> wrote:
> >> Test your hdd settings with hdparm.
> >> You could use hdparm -tT /dev/hda to "benchmark" your first hdd.
> > 
> > Here's what I got:
> > chiefinnovator at MAIN1:~$ sudo hdparm -tT /dev/hda
> > Password:
> > 
> > /dev/hda:
> > Timing cached reads:   284 MB in  2.01 seconds = 141.43 MB/sec
> > Timing buffered disk reads:   66 MB in  3.15 seconds =  20.96 MB/sec
> > 
> >> Then see through the various settings and check your cables.
> > What settings would I check exactly?  Cables LOOK ok, is there
> > anything special I should look for?
> 
> hdparm -v /dev/hda should show you if DMA and 32bit access is enabled.
> 28MB/s is a poor performance for modern hard drives.
> 
> /dev/hda:
>  multcount    = 16 (on)
>  IO_support   =  1 (32-bit)
>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  geometry     = 65535/16/63, sectors = 117231408, start = 0
> 
> to enable this perform:
> 
> hdparm -c1 -m16 -d1 /dev/hda
> 
> then test again with hdparm -t /dev/hda
> 
> If all is ok you can enable this permanently by editing /etc/hdparm.conf:
> 
> /dev/hda {
>          mult_sect_io = 16
>          io32_support = 1
>          dma = on
> }
> 
> /dev/cdrom {
>         dma = on
>         io32_support = 1
> }
> 
> hdparm -I <device> show you the disk capabilities and should help you
> choose more appropriate hdparm settings for it.
> 
> - --
> Léa Gris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFEu63qiNTO/wgn58kRAmJfAKDGGLjAi2AYePdifIdeDf+npW96SACgmoML
> kzoeWnwXGGAaoFFvVb/fCpo=
> =0S4L
> -----END PGP SIGNATURE-----
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060718/6eb695b0/attachment.html>


More information about the ubuntu-users mailing list