GNU/Linux >> Linux の 問題 >  >> Ubuntu

UbuntuではHddのパフォーマンスが遅いですか?

私はubuntu12.04(32ビット)を実行しています。再起動後、突然私のラップトップはHDDを検出しませんでした。数回再起動した後、HDDの検出に失敗しました。次に、BIOSでSataモードをAHCIからIDEに変更します。その後、HDDを再度検出します。そして今、HDDのパフォーマンスは非常に遅いです。ディスクユーティリティで簡単なテストを実行します。エラーや警告は表示されません。

hdparm -i / dev / sda

 Model=TOSHIBA MK3259GSXP, FwRev=GN003J, SerialNo=61OJC86CT
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=625142448
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
 AdvancedPM=yes: unknown setting WriteCache=enabled
 Drive conforms to: Unspecified:  ATA/ATAPI-3,4,5,6,7

hdparm -tT / dev / sda

/dev/sda:
 Timing cached reads:     2 MB in  2.70 seconds = 759.55 kB/sec
 Timing buffered disk reads: 172 MB in  3.02 seconds =  56.99 MB/sec

これらはhdparmコマンドの結果です。正常ですか?助けてください。

仕様:

Laptop: Acer Aspire 4250
HDD: 320
RAM: 2GB
Processor: dual core (1.6GHZ)

編集済み

何か見つけました。理想的な時間の後、SDAリンクがダウンします(速度700kb /秒)。ミニチュア(MB /秒単位の速度)の後に戻ってきました。
カーネルログ:

1.194927] ahci 0000:00:11.0: version 3.0
Jul 14 01:07:32 ubuntu kernel: [    1.195121] ahci 0000:00:11.0: AHCI 0001.0200 32 slots 4 ports 6 Gbps 0xf impl SATA mode
Jul 14 01:07:32 ubuntu kernel: [    1.196190] scsi0 : ahci
Jul 14 01:07:32 ubuntu kernel: [    1.196326] scsi1 : ahci
Jul 14 01:07:32 ubuntu kernel: [    1.196417] scsi2 : ahci
Jul 14 01:07:32 ubuntu kernel: [    1.196508] scsi3 : ahci
Jul 14 01:07:32 ubuntu kernel: [    1.196951] ata1: SATA max UDMA/133 abar [email protected] port 0x9034b100 irq 19
Jul 14 01:07:32 ubuntu kernel: [    1.196957] ata2: SATA max UDMA/133 abar [email protected] port 0x9034b180 irq 19
Jul 14 01:07:32 ubuntu kernel: [    1.196961] ata3: SATA max UDMA/133 abar [email protected] port 0x9034b200 irq 19
Jul 14 01:07:32 ubuntu kernel: [    1.196965] ata4: SATA max UDMA/133 abar [email protected] port 0x9034b280 irq 19
#Jul 14 01:07:32 ubuntu kernel: [    1.528890] ata4: SATA link down (SStatus 0 SControl 300)
#Jul 14 01:07:32 ubuntu kernel: [    1.528970] ata3: SATA link down (SStatus 0 SControl 300)
#Jul 14 01:07:32 ubuntu kernel: [    1.701010] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Jul 14 01:07:32 ubuntu kernel: [    2.172883] Switching to clocksource tsc
Jul 14 01:07:32 ubuntu kernel: [    3.380557] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Jul 14 01:07:32 ubuntu kernel: [    3.424635] ata1.00: ATA-8: TOSHIBA MK3259GSXP, GN003J, max UDMA/100
Jul 14 01:07:32 ubuntu kernel: [    3.424644] ata1.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
Jul 14 01:07:32 ubuntu kernel: [    3.425731] ata1.00: configured for UDMA/100
Jul 14 01:07:32 ubuntu kernel: [    3.426226] scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA MK3259GS GN00 PQ: 0 ANSI: 5
Jul 14 01:07:32 ubuntu kernel: [    3.426483] sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
Jul 14 01:07:32 ubuntu kernel: [    3.426488] sd 0:0:0:0: [sda] 4096-byte physical blocks
Jul 14 01:07:32 ubuntu kernel: [    3.426550] sd 0:0:0:0: Attached scsi generic sg0 type 0
Jul 14 01:07:32 ubuntu kernel: [    3.426568] sd 0:0:0:0: [sda] Write Protect is off
Jul 14 01:07:32 ubuntu kernel: [    3.426574] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
Jul 14 01:07:32 ubuntu kernel: [    3.426608] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jul 14 01:07:32 ubuntu kernel: [    3.537077]  sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 >
Jul 14 01:07:32 ubuntu kernel: [    3.538831] sd 0:0:0:0: [sda] Attached SCSI disk
Jul 14 01:07:32 ubuntu kernel: [    3.540782] scsi 1:0:0:0: CD-ROM            MATSHITA DVD-RAM UJ8B0AW  1.00 PQ: 0 ANSI: 5
Jul 14 01:07:32 ubuntu kernel: [    3.542788] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
Jul 14 01:07:32 ubuntu kernel: [    3.542796] cdrom: Uniform CD-ROM driver Revision: 3.20
Jul 14 01:07:32 ubuntu kernel: [    3.543116] sr 1:0:0:0: Attached scsi CD-ROM sr0
Jul 14 01:07:32 ubuntu kernel: [    3.543254] sr 1:0:0:0: Attached scsi generic sg1 type 5
Jul 14 01:07:32 ubuntu kernel: [    3.543485] Freeing unused kernel memory: 748k freed 

私はまったく同じ問題を抱えています、https://answers.launchpad.net/ubuntu/+source/linux/+question/166624

関連:Ubuntu Unity Desktopの「アプリケーション」メニューにアクセスするにはどうすればよいですか?

追加情報

smartctl 5.43 2012-06-05 r3561 [i686-linux-3.5.0-3-generic] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Toshiba 2.5" HDD MK..59GSXP (Adv. Format)
Device Model:     TOSHIBA MK3259GSXP
Serial Number:    61OJC86CT
LU WWN Device Id: 5 000039 353c09e33
Firmware Version: GN003J
User Capacity:    320,072,933,376 bytes [320 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Sun Jul 15 00:36:16 2012 BDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                    was never started.
                    Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                    without error or no self-test has ever 
                    been run.
Total time to complete Offline 
data collection:        (  120) seconds.
Offline data collection
capabilities:            (0x5b) SMART execute Offline immediate.
                    Auto Offline data collection on/off support.
                    Suspend Offline collection upon new
                    command.
                    Offline surface scan supported.
                    Self-test supported.
                    No Conveyance Self-test supported.
                    Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                    power-saving mode.
                    Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                    General Purpose Logging supported.
Short self-test routine 
recommended polling time:    (   2) minutes.
Extended self-test routine
recommended polling time:    ( 103) minutes.
SCT capabilities:          (0x003d) SCT Status supported.
                    SCT Error Recovery Control supported.
                    SCT Feature Control supported.
                    SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       1206
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       5171
  5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       736
  7 Seek_Error_Rate         0x000b   100   100   050    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   096   096   000    Old_age   Always       -       1726
 10 Spin_Retry_Count        0x0033   202   100   030    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1208
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       15
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       89
193 Load_Cycle_Count        0x0032   098   098   000    Old_age   Always       -       24439
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       42 (Min/Max 18/48)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       14
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
220 Disk_Shift              0x0002   100   100   000    Old_age   Always       -       49
222 Loaded_Hours            0x0032   097   097   000    Old_age   Always       -       1362
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
224 Load_Friction           0x0022   100   100   000    Old_age   Always       -       0
226 Load-in_Time            0x0026   100   100   000    Old_age   Always       -       297
240 Head_Flying_Hours       0x0001   100   100   001    Pre-fail  Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      1726         -
# 2  Short offline       Aborted by host               60%      1726         -
# 3  Short offline       Completed without error       00%      1714         -
# 4  Short offline       Completed without error       00%      1707         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

新規

別の問題を見つけました。 #hdparm -tT / dev / sdaの結果は、インストールされているシステムとliveCDで異なります

LIVECD:

Timing cached reads:     2630 MB in  3.00 seconds = 878.32 MB/sec
Timing buffered disk reads: 218 MB in  3.00 seconds =  72.62 MB/sec

インストールされたシステム

 Timing cached reads:     2 MB in  3.37 seconds = 607.20 kB/sec
 Timing buffered disk reads: 218 MB in  3.00 seconds =  72.62 MB/sec

承認された回答:

出力を投稿していただきありがとうございます

関連:Ubuntuのスクリプトまたはバイナリから.Debパッケージを作成しますか?

上記の結果は、すでにしきい値を超えていることを示しています。 、バックアップを取り、保証期間内であれば交換することをお勧めします。さらに押して目的のパフォーマンスを得ると、損傷する可能性があります。

再割り当てされたセクターの数 736を表示 、主に平均余命の指標として使用されますが ドライブの場合、この数値はパフォーマンスにも影響します。 再割り当てされたセクターの数が増えると、読み取り/書き込み速度が低下する傾向があります 再マップにアクセスするたびに、ドライブヘッドが予約領域をシークするように強制されるためです。

スピンリトライカウント 202を表示 スピンスタート試行の再試行回数です。この属性は、完全に動作可能な速度に到達するためのスピン開始試行の総数を格納します(最初の試行が失敗した場合)。この属性値の増加は、ハードディスクの機械サブシステムに問題があることを示しています。

詳細については、こちらとS.M.A.R.Tを参照してください。ウィキ

P.S ヘルス値が低いだけでは、ハードディスクが近い将来確実に死ぬことを意味するわけではありませんが(これを確認するには、完全な(ハードウェア)検査が必要です)、失敗する可能性があります。


Ubuntu
  1. Ubuntu 15.04での起動が非常に遅い?

  2. Ubuntu 16.04 –一部のアプリケーションの起動が遅いですか?

  3. Ubuntu 17.04での起動がひどく遅い?

  1. Ubuntu 16.04 –ワイヤレスパフォーマンスの低下?

  2. Ubuntu 12.10はデスクトップでひどく遅くなりますか?

  3. MozillaFirefox12はUbuntu12.04Ltsで非常に遅いですか?

  1. Ubuntu 12.04の3Dパフォーマンスが悪いですか?

  2. Ubuntu 18.04:シャットダウンが遅い?

  3. スイッチを使用するとUbuntuでインターネットが遅くなる