LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-16-2012, 03:33 PM   #1
pietchaki
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Rep: Reputation: Disabled
linux extremely slow. almost 10 minutes to boot (hdparam -t : 490.70 kB/sec)


Hi,
my entire linux is slow, it is taking about 5~8 minutes to load the login screen, and more 3~5 minutes to load my account.

I have a Core i3 350M, 4Gb DDR3 dual channel, hd hitachi 500Gb.
running Linux Mint 12 64bits 3.0.0-12-generic

First I though it could be the distro I was using so I tested Mint 12, Mint 11, Ubuntu 11.10 and Kubuntu 11.04, and all of them run almost fine in live, and very slow when installed in hd.

running some tests I found that with my HD:
Code:
#hdparm -tT /dev/sda
 /dev/sda:
  Timing cached reads:     2 MB in  4.17 seconds = 490.70 kB/sec
  Timing buffered disk reads:   2 MB in  3.59 seconds = 570.03 kB/sec
Code:
#hdparm -i /dev/sda
 /dev/sda:
  Model=Hitachi HTS545050A7E380, FwRev=GG2OA600, SerialNo=TA5511GZH4S6KP
  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
  BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=976773168
  IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
  PIO modes:  pio0 pio1 pio2 pio3 pio4 
  DMA modes:  mdma0 mdma1 mdma2 
  UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
  AdvancedPM=yes: mode=0xFE (254) WriteCache=enabled
  Drive conforms to: unknown:  ATA/ATAPI-2,3,4,5,6,7

don't know what other info could be relevant, please tell me what I can do.

thx
 
Old 02-16-2012, 03:54 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Those speeds seem extremely slow for a hdd by a factor of 60+, try another hard disk.
 
Old 02-16-2012, 06:17 PM   #3
pietchaki
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
I don't have other HDs, and can't buy one either...
this notebook was OK last week, and it was on my desk last 2 months
so I don't think its mechanical failure...
 
Old 02-16-2012, 09:50 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
mint 12 64 should run fine on that hardware

is this a VM install on virtualbox or VMware with vista as the host OS
if not and you installed it to the drive and Mint IS THE ONLY operating system
then HOW did you install it ?
the settings you used would help
 
Old 02-17-2012, 01:54 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Check the cables to the HDD, and maybe run some diagnostics on the drive, either using smartctl or a manufacturer utility on:
http://www.ultimatebootcd.com/
 
Old 02-17-2012, 04:19 PM   #6
pietchaki
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
I put my HD in a friend's computer and it was as slow as in my notebook.
seems like I will have to buy another HD...
 
Old 02-17-2012, 06:01 PM   #7
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Disable, or remove, ureadahead. It gives a bit of grief sometimes when it is reprofiling. Your hardware specification shouldn't be affected but it is not unheard of.

Last edited by k3lt01; 02-17-2012 at 06:07 PM.
 
Old 02-17-2012, 06:04 PM   #8
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by H_TeXMeX_H View Post
Check the cables to the HDD
Cables in a notebook?
 
Old 02-17-2012, 08:00 PM   #9
pietchaki
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by k3lt01 View Post
Disable, or remove, ureadahead. It gives a bit of grief sometimes when it is reprofiling. Your hardware specification shouldn't be affected but it is not unheard of.
I used "apt-get purge ureadahead"
but problem persists...


I don't think it's software problem, since this HD have the same bad performance when plugged in other computer.
 
Old 02-17-2012, 08:17 PM   #10
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by pietchaki View Post
I used "apt-get purge ureadahead"
but problem persists...
Have you rebooted it since removing ureadahead?

Quote:
Originally Posted by pietchaki View Post
I don't think it's software problem, since this HD have the same bad performance when plugged in other computer.
It may be hardware and it may be software, ureadahead is just one thing I know does what you have described and it doesn't matter if you put the hard drive in 100 different computers it will still do it.

Have you done a disk benchmark in disk utility?
 
Old 02-18-2012, 09:34 AM   #11
pietchaki
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
yes, I rebooted the system.

In benchmark from disk utility:
"Error benchmarking: helper exited with exit code 1: Device /dev/sda is too slow to benchmark"
 
Old 02-18-2012, 09:50 AM   #12
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by k3lt01 View Post
Cables in a notebook?
Some do have them.

Quote:
Originally Posted by pietchaki View Post
I used "apt-get purge ureadahead"
but problem persists...

I don't think it's software problem, since this HD have the same bad performance when plugged in other computer.
As long as you weren't booting the drive you are trying to test, it wont matter if ureadahead is removed or not.

Sounds like you have a failed drive. Not totaly failed, but failed enough that its dropped speed huge amounts. But I'd run the manufacturers diagnostic tests (Hitachi Drive Fitness Test in this case) just to be sure.

Link to the Hitachi d/l page with the Drive Fitness Test-

http://www.hitachigst.com/support/downloads/
 
Old 02-18-2012, 09:50 AM   #13
pietchaki
LQ Newbie
 
Registered: Feb 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
when the system began to slow down, I tried to benchmark but get an error "can't estimate cache size" or something like that.
also in smart data the "Current Pending Sector Count" was 60, now it is 1192...

when plugged as a secondary HD in my friends computer, running windows 7, tried to copy mint 12 DVD iso from my HD to him, the transfer rate began at 900kb/s and slow down to 300kb/s.
copying the same file from his HD to a pen drive get 4~7Mb/s.
 
Old 02-18-2012, 10:00 AM   #14
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I think you should return it as defect if it is under warranty.
 
Old 02-18-2012, 01:12 PM   #15
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
I agree, looks like you have a drive that is giving up.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Feisty takes 2 minutes to boot (slow) lancest Ubuntu 2 05-21-2007 07:38 AM
Linux is extremely slow when writing a pendrive pxumsgdxpcvjm Linux - Newbie 3 01-30-2007 07:03 AM
Mandrake 10 Internet very slow (<1kb/sec) while windows got 50k/sec SafeTechs Mandriva 13 09-01-2006 04:07 PM
dial up internet extremely slow in linux fakie_flip Linux - Hardware 3 05-12-2006 02:51 AM
Printer prints extremely slow in linux.. nutshell Linux - General 0 03-09-2002 05:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration