Stránka 1 z 1

Příliš dlouhé bootování systému LM 18.3 (64bit)

Napsal: 27 pro 2017, 21:46
od FrantaB
Zdravím kolegové,
mám na vás takový dotaz. Jak dlouho bootuje váš systém. Při mé konfiguraci:
Notebook HP ProBook 4530s, OS LINUX Mint 18.3 (64bit), Core i5, RAM 6GB, ATI Radeon HD 6400M

se systém načítá od grubu k přihlašovací obrazovce nějaké cca 3minuty! ...zdá se mě to dost přehnané. Na to, že se jedná o čistou instalaci systému.


Už udělaná opatření:

vypnul jsem indexaci
maskoval jsem: NetworkManager-wait-online.service
nastavil jsem swap na: vm.swappiness=10

Ale i pře to vše mám stále výše zmíněný čas bootování :( ...nevíte poradit jak to pořešit nebo jaký máte čas bootování. Zda je tohle normální vůbec.

A výsledek z systemd-analyze plot:
Obrázek
...nebo lépe na: https://ulozto.cz/!odhClG5OYee2/plot-svg

Re: Příliš dlouhé bootování systému LM 18.3 (64bit)

Napsal: 28 pro 2017, 12:04
od skrob
S ssd při stejné procesoru a 8GB ram 12s, ale to Ti asi moc nepomůže, tipnul bych si na chyby na HDD. Zkus jiný, nebo ten litr do ssd investuj, nebudeš chtít jinak.

Re: Příliš dlouhé bootování systému LM 18.3 (64bit)

Napsal: 28 pro 2017, 12:44
od FrantaB
takze vypis:

Kód: Vybrat vše

inxi -F
zde:

Kód: Vybrat vše

System:    Host: frantab-HP Kernel: 4.10.0-38-generic x86_64 (64 bit)
           Desktop: Cinnamon 3.6.7  Distro: Linux Mint 18.3 Sylvia
Machine:   System: Hewlett-Packard (portable) product: HP ProBook 4530s v: A0001D02
           Mobo: Hewlett-Packard model: 167C v: KBC Version 22.25
           Bios: Hewlett-Packard v: 68SRR Ver. F.50 date: 08/05/2014
CPU:       Dual core Intel Core i5-2430M (-HT-MCP-) cache: 3072 KB 
           clock speeds: max: 3000 MHz 1: 799 MHz 2: 800 MHz 3: 800 MHz
           4: 800 MHz
Graphics:  Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
           Card-2: Advanced Micro Devices [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series]
           Display Server: X.Org 1.18.4 drivers: ati,radeon,intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.03hz
           GLX Renderer: Mesa DRI Intel Sandybridge Mobile
           GLX Version: 3.0 Mesa 17.0.7
Audio:     Card Intel 6 Series/C200 Series Family High Definition Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.10.0-38-generic
Network:   Card-1: Realtek RTL8188CE 802.11b/g/n WiFi Adapter
           driver: rtl8192ce
           IF: wlo1 state: up mac: 20:10:7a:fa:90:c6
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169
           IF: enp38s0 state: down mac: e4:11:5b:2e:42:e5
Drives:    HDD Total Size: 750.2GB (18.7% used)
           ID-1: /dev/sda model: Hitachi_HTS72757 size: 750.2GB
Partition: ID-1: / size: 367G used: 17G (5%) fs: ext4 dev: /dev/sda6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 39.0C mobo: 33.0C gpu: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 226 Uptime: 3 min Memory: 1097.4/5899.4MB
           Client: Shell (bash) inxi: 2.2.35 
k analyze startu prikaz

Kód: Vybrat vše

systemd-analyze blame
zde:
Obrázek

Re: Příliš dlouhé bootování systému LM 18.3 (64bit)

Napsal: 02 led 2018, 08:58
od FrantaB
Takže projel jsem to tím více jak dvouhodinovým testem a výsledek viz. :

Kód: Vybrat vše

smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.10.0-38-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi/HGST Travelstar 7K750
Device Model:     Hitachi HTS727575A9E364
Serial Number:    J3740084GKNR0E
LU WWN Device Id: 5 000cca 68cc8080d
Firmware Version: JF4OA0E0
User Capacity:    750,156,374,016 bytes [750 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Thu Dec 28 15:41:04 2017 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: 		(   45) 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: 	 ( 161) 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     0x002f   100   099   062    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0025   100   100   040    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0023   197   100   033    Pre-fail  Always       -       2
  4 Start_Stop_Count        0x0032   095   095   000    Old_age   Always       -       8142
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002f   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   100   100   040    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   042   042   000    Old_age   Always       -       25575
 10 Spin_Retry_Count        0x0033   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       6877
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0033   100   100   097    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       3839704956928
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       98789687296
190 Airflow_Temperature_Cel 0x0022   060   051   045    Old_age   Always       -       40 (Min/Max 22/42)
191 G-Sense_Error_Rate      0x0032   090   090   000    Old_age   Always       -       2589
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       9765013
193 Load_Cycle_Count        0x0032   080   080   000    Old_age   Always       -       202761
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
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    0x0036   100   100   000    Old_age   Always       -       0
223 Load_Retry_Count        0x002a   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 4
	CR = Command Register [HEX]
	FR = Features Register [HEX]
	SC = Sector Count Register [HEX]
	SN = Sector Number Register [HEX]
	CL = Cylinder Low Register [HEX]
	CH = Cylinder High Register [HEX]
	DH = Device/Head Register [HEX]
	DC = Device Command Register [HEX]
	ER = Error register [HEX]
	ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 4 occurred at disk power-on lifetime: 25419 hours (1059 days + 3 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  10 51 00 68 a9 ca 05  Error: IDNF at LBA = 0x05caa968 = 97167720

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 08 68 28 1c 54 40 00      03:15:13.264  WRITE FPDMA QUEUED
  61 08 60 d0 58 99 40 00      03:15:12.891  WRITE FPDMA QUEUED
  61 38 58 e0 ac 3c 40 00      03:15:12.888  WRITE FPDMA QUEUED
  61 40 50 a0 a7 3c 40 00      03:15:12.411  WRITE FPDMA QUEUED
  61 c0 48 e0 a4 3c 40 00      03:15:11.769  WRITE FPDMA QUEUED

Error 3 occurred at disk power-on lifetime: 25419 hours (1059 days + 3 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  10 51 00 00 40 a8 05  Error: IDNF at LBA = 0x05a84000 = 94912512

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 20 78 c8 ca 40 00      03:15:00.253  WRITE FPDMA QUEUED
  61 10 18 c0 19 54 40 00      03:14:58.784  WRITE FPDMA QUEUED
  61 08 10 78 19 54 40 00      03:14:57.836  WRITE FPDMA QUEUED
  61 08 08 48 19 54 40 00      03:14:57.836  WRITE FPDMA QUEUED
  61 00 00 78 c0 ca 40 00      03:14:57.828  WRITE FPDMA QUEUED

Error 2 occurred at disk power-on lifetime: 25419 hours (1059 days + 3 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  10 51 00 00 58 ab 05  Error: IDNF at LBA = 0x05ab5800 = 95115264

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 50 00 28 c5 40 00      03:14:50.563  WRITE FPDMA QUEUED
  61 00 48 00 20 c5 40 00      03:14:50.557  WRITE FPDMA QUEUED
  61 00 40 00 18 c5 40 00      03:14:50.553  WRITE FPDMA QUEUED
  61 00 38 00 50 b2 40 00      03:14:49.998  WRITE FPDMA QUEUED
  61 00 30 00 48 b2 40 00      03:14:49.309  WRITE FPDMA QUEUED

Error 1 occurred at disk power-on lifetime: 25419 hours (1059 days + 3 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  10 51 00 00 f0 a6 05  Error: IDNF at LBA = 0x05a6f000 = 94826496

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 c0 00 68 a8 40 00      03:14:39.692  WRITE FPDMA QUEUED
  61 00 b8 00 60 a8 40 00      03:14:38.084  WRITE FPDMA QUEUED
  61 00 b0 00 58 a8 40 00      03:14:38.079  WRITE FPDMA QUEUED
  61 00 a8 00 50 a8 40 00      03:14:38.075  WRITE FPDMA QUEUED
  61 00 a0 00 90 ab 40 00      03:14:37.057  WRITE FPDMA QUEUED

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%     25575         -
# 2  Extended offline    Aborted by host               90%     25573         -
# 3  Short offline       Completed without error       00%     25488         -
# 4  Short offline       Completed without error       00%     14859         -
# 5  Short offline       Aborted by host               20%     14859         -
# 6  Short offline       Completed without error       00%     14858         -
# 7  Short offline       Completed without error       00%     14858         -
# 8  Short offline       Completed without error       00%     14858         -
# 9  Short offline       Completed without error       00%     14858         -
#10  Short offline       Completed without error       00%     14858         -
#11  Short offline       Completed without error       00%     14858         -
#12  Short offline       Completed without error       00%     14858         -
#13  Short offline       Completed without error       00%     14858         -
#14  Extended offline    Aborted by host               90%     14141         -
#15  Short offline       Completed without error       00%     14141         -

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.
V tomhle se už nějak extrémně nevyznám, osobně tam problém nevidím. Ale tak možná jsem něco přehlídl. Disk by tedy zřejmě měl být o.k. Tak na co dalšího se ještě zaměřit ať mě to ty 3 minuty nestartuje :-)

Re: Příliš dlouhé bootování systému LM 18.3 (64bit)

Napsal: 02 led 2018, 10:15
od FrantaB
Díky za info. No zkusím tedy ještě hledat v čem by mohl být zakopaný pes. Zatím nic z výše uvedených opatření nepomohlo. Možná ještě něco někde dohledám. Ty 3 minuty je fakt extrém :-)