Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[CAT]Disc dur moooolt lent
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Languages
View previous topic :: View next topic  
Author Message
mad93
Apprentice
Apprentice


Joined: 15 Feb 2005
Posts: 184
Location: Catalunya

PostPosted: Tue Mar 07, 2006 10:45 pm    Post subject: [CAT]Disc dur moooolt lent Reply with quote

Bé, tinc una partició extremadament lenta, i es tracta d'un disc dur vell que tinc de 60 Gb, on hi tinc tots els mp3. El cas és que quan hi moc arxius grans pq necessito espai a altres particions la transferència és penosa, amb això vull dir que oscila entre 400 kbps i 'encallat', i a més satura el pc per complet, tot va de pena.

No entenc a que pot ser degut. L'hi he fet un e2fsck -cp i cap problema detectat. El disc dur en qüestió és el /dev/hdb. Aquí els resultats que n'he obtingut amb el hdparm així com tot el tinglado:

Code:
majomo bt # df -h
S. fitxers          Tamany En ús Lliure %Ús Muntat en
/dev/hdc5             5,8G  5,2G  366M  94% /
udev                  506M  284K  506M   1% /dev
/dev/hda1              29G   27G  758M  98% /home
/dev/hdc7             3,9G  3,1G  617M  84% /var
/dev/hdc1             103G   94G  3,7G  97% /home/mad93/pelis
/dev/hdb1              56G   43G  9,3G  83% /home/mad93/mp3
none                  506M     0  506M   0% /dev/shm
/dev/sda1              94G   89G  193M 100% /home/mad93/anime
/dev/sda2              94G   89G   70M 100% /home/mad93/anime/Animelliure
majomo bt # hdparm -tT /dev/hdb1

/dev/hdb1:
 Timing cached reads:   1888 MB in  2.00 seconds = 942.06 MB/sec
 Timing buffered disk reads:   18 MB in  3.41 seconds =   5.28 MB/sec
majomo bt # hdparm -tT /dev/hda1

/dev/hda1:
 Timing cached reads:   1968 MB in  2.00 seconds = 983.94 MB/sec
 Timing buffered disk reads:   64 MB in  3.06 seconds =  20.91 MB/sec
majomo bt # hdparm -tT /dev/hdc1

/dev/hdc1:
 Timing cached reads:   1856 MB in  2.10 seconds = 885.44 MB/sec
 Timing buffered disk reads:   74 MB in  3.12 seconds =  23.69 MB/sec
majomo bt # hdparm -tT /dev/sda1

/dev/sda1:
 Timing cached reads:   1756 MB in  2.03 seconds = 865.82 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
 Timing buffered disk reads:  166 MB in  3.02 seconds =  55.04 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device


Aquí jo no hi veig res estrany en principi, el parell d'errors els dona al mirar el sata. Alguna idea de que més puc mirar, pq tb tinc el de 30 Gb que fa un xiulet no gaire amigable i estic per canviar-lo...
Back to top
View user's profile Send private message
mad93
Apprentice
Apprentice


Joined: 15 Feb 2005
Posts: 184
Location: Catalunya

PostPosted: Wed Mar 08, 2006 8:04 pm    Post subject: Reply with quote

Com que també m'han demanat el fstab...
Code:
majomo html # cat /etc/fstab
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>                  <mountpoint>    <type>          <opts>                  <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdc5               /               ext3            defaults,noatime        0 1
/dev/hda1               /home           ext3            defaults,noatime        0 0
/dev/hdc6               none            swap            sw                      0 0
/dev/hdc7               /var            ext3            defaults,noatime        0 0
/dev/hdc1               /home/mad93/pelis ext3          defaults,noatime        0 0
/dev/hdb1               /home/mad93/mp3 ext3            defaults,noatime        0 0
/dev/sda1               /home/mad93/anime ext3          defaults,noatime        0 0
/dev/sda2               /home/mad93/anime/Animelliure ext3              defaults,noatime        0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,user,ro          0 0
/dev/fd0                /mnt/floppy     auto            noauto                  0 0
/dev/sdb1               /mnt/usb        vfat            nouato,user             0 0
# NOTE: The next line is critical for boot!
none                    /proc           proc            defaults                0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none                    /dev/shm        tmpfs           defaults                0 0


Aquí el teniu. I el disc dur fa servir dma
Code:
majomo html # hdparm /dev/hdb | grep dma
 using_dma    =  1 (on)
Back to top
View user's profile Send private message
nandelbosc
Guru
Guru


Joined: 29 Sep 2004
Posts: 350
Location: olot

PostPosted: Tue Mar 14, 2006 5:28 pm    Post subject: Reply with quote

ben curiós...

suposo que quan dius que et mou els fitxers a 400Kbps, és quan ho fas de forma local, és a dir, no ho fas desde un altre màquina via NFS, SAMBA, FISH, ...

L'hdparm, com dius, no mostra res fora de lloc.

Una cosa poc "senyora"... Tens opció de guardar els fitxers temporalment, formatejar el disc i tornar-los a copiar?
Back to top
View user's profile Send private message
mad93
Apprentice
Apprentice


Joined: 15 Feb 2005
Posts: 184
Location: Catalunya

PostPosted: Tue Mar 14, 2006 6:19 pm    Post subject: Reply with quote

Per poder ho podria fer, però abans he de grabar molts dvds o comprar un altre disc 8O

Quan dic la velocitat és d'un disc a un altre, i que vagi lent realment no és el que m'empipa, pq només té cançons allí, sinó que és pel fet que satura el pc al llegir-escriure d'aquell disc dur en grans quantitats.
Back to top
View user's profile Send private message
nandelbosc
Guru
Guru


Joined: 29 Sep 2004
Posts: 350
Location: olot

PostPosted: Tue Mar 14, 2006 8:49 pm    Post subject: Reply with quote

Quote:
Per poder ho podria fer, però abans he de grabar molts dvds o comprar un altre disc 8O


Quin feinada! Ho deia per si tenies espai a algun altre disc, però veig que els tens a full!

Està ben configurat el hardware?

Com tens connectats els discs? Al mateix cable ide? Si és així, els jumpers estàn a cable select? si no, és correcte la configuració master/slave?

No tinc masses idees més, aquesta nit ho consultaré amb el coixí.
Back to top
View user's profile Send private message
mad93
Apprentice
Apprentice


Joined: 15 Feb 2005
Posts: 184
Location: Catalunya

PostPosted: Mon May 22, 2006 6:46 pm    Post subject: Reply with quote

Només dir que el disc dur estava chungo, al final va petar, però amb un dd vaig poder copiar la informació a una altre partició d'un disc dur nou :D

Estava ja cantat amb el burro que feia...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Languages All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum