Výkonnostný problém, asi s diskom

Výkonnostný problém, asi s diskom
« kdy: 09. 03. 2012, 21:02:22 »
Nazdárek

Mám nový notebook thinkpad L520 (5015-A81). Nainštaloval som si tam ubuntu 11.10, následne som ho upgradol na 12.04, pretože som dúfal, že sa tým vyriešia problémy, ale nepomohlo :)

Problém je, že boot mi trvá vyše 5 minút. Keď som upgradoval z 11.10 na 12.04, trvalo to deň aj 6 hodín (celý čas blikala kontrolka disku, System Load Indicator nadával tiež iba na disk), pritom starší notebook si s tou istou úlohou (z 11.04 na 11.10) poradil za ani nie pol dňa.

Tu sú dva riadky z dmesg s najväčším časovým odstupom (sú to asi 4 minúty):
Kód: [Vybrat]
[   20.674058] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio4/serio5/input/input14
[  255.258683] device fsid 2159aa2f-6761-4b14-b7e0-a0d68223bc8d devid 1 transid 5087 /dev/sda6
tu je df:
Kód: [Vybrat]
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1        34G   11G   20G  36% /
udev            1.9G  4.0K  1.9G   1% /dev
tmpfs           760M  900K  759M   1% /run
none            5.0M  8.0K  5.0M   1% /run/lock
none            1.9G   76K  1.9G   1% /run/shm
/dev/sda6       261G   22G  234G   9% /home
/ aj /home sú btrfs.
Myslíte, že to môže byť problém? Prípadne v kombinácii so sandy bridge? Pri štarte mi vypisuje chybu error: sparse file not allowed, ale ako som sa dozvedel, momentáne fix neexistuje. Pomôže mi zmena filesystemu? Alebo stačia len nejaké nastavenia?
V podstate nemám problém celý systém preinštalovať, keďže som ho ešte nezačal používať ako hlavný, ale predsa len som tam už nahádzal hromadu softvéru, čo by mi zase zabralo hromadu času.


Re:Výkonnostný problém, asi s diskom
« Odpověď #1 kdy: 09. 03. 2012, 21:58:12 »
btrfs - vyvojovy fs - good luck ;-)

duvod pomaleho hdd - hadam ze nemate zaplne DMA, vse ostatni by nebylo tak pomale. U tehle modelu byl kvuli tomu tusim i upgrade biosu ...

host

Re:Výkonnostný problém, asi s diskom
« Odpověď #2 kdy: 10. 03. 2012, 10:50:56 »
zdravim, co hovori smartctl? a vystup hdparm -Tt /dev/sda ?

vadimo

Re:Výkonnostný problém, asi s diskom
« Odpověď #3 kdy: 10. 03. 2012, 15:27:14 »
Ja by som to tiež typoval na to btrfs.

Re:Výkonnostný problém, asi s diskom
« Odpověď #4 kdy: 11. 03. 2012, 12:26:29 »
smartctl -a /dev/sda:
Kód: [Vybrat]
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-18-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Scorpio Blue Serial ATA
Device Model:     WDC WD3200BEVT-08A23T1
Serial Number:    WD-WX91A91Y0509
LU WWN Device Id: 5 0014ee 601c4400a
Firmware Version: 02.01A02
User Capacity:    320,072,933,376 bytes [320 GB]
Sector Size:      512 bytes logical/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 Mar 11 12:23:44 2012 CET
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: ( 7800) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
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: (  79) minutes.
Conveyance self-test routine
recommended polling time: (   5) minutes.
SCT capabilities:        (0x7037) SCT Status 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     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   138   136   021    Pre-fail  Always       -       2091
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       432
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002f   200   200   051    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       84
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       91
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       23
193 Load_Cycle_Count        0x0032   199   199   000    Old_age   Always       -       5760
194 Temperature_Celsius     0x0022   105   093   000    Old_age   Always       -       38
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0
240 Head_Flying_Hours       0x0032   100   100   000    Old_age   Always       -       68

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


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:
Kód: [Vybrat]
/dev/sda:
 Timing cached reads:   7462 MB in  2.00 seconds = 3732.44 MB/sec
 Timing buffered disk reads: 254 MB in  3.01 seconds =  84.27 MB/sec


vadimo

Re:Výkonnostný problém, asi s diskom
« Odpověď #5 kdy: 11. 03. 2012, 14:37:40 »
Ten výkon disku podla hdparm máš dobre. Na mojom starom disku (80GB) v notebooku mam toto:
Kód: [Vybrat]
/dev/sda:
 Timing cached reads:   1932 MB in  2.00 seconds = 966.16 MB/sec
 Timing buffered disk reads:  108 MB in  3.10 seconds =  34.88 MB/sec

Je jasné, že by som privítal vyšší výkon, ale necítim žiadne veľké nedostatky. Idem na ext4.