Jump to content
php.lv forumi

Linux iefrīzo periodiski


metal-0-1

Recommended Posts

Kad lietoju Windows, šādu problēmu nebija, tāpēc dzelži nav vnk par lēnu.. Arch Linux.

 

Lietojot jebkāda veida programmu, piemēram, rakstot kādā teksta editorā, ik pa pāris minūtēm dators uz apmēram divām sekundēm sastingst (nekas nenotiek pie taustiņu piesitieniem), ir dzirdams, ka iedūcas kāda no datora komponentēm (pieņemu, ka HDD), un pēc šīm divām sekundēm dators atdzīvojas un ātri uzrakstās tie burti, kas tika nospiesti iefrīzošanas laikā.

 

Pele šajās divās sekundēs joprojām ir kustināma un es varu pārslēgties starp workspeisiem. Tas notiek jebkurā teksta editorā, gan grafiskajos, gan konsoles.

 

Uz Windows šādu uzvedību biju novērojis Microsoft Wordā, kad ik pēc 10min statusa joslā parādījās notifications, ka tiek veikts drošības AutoSave, bet te nekādu paziņojumu un tiem editoriem nemaz nav tādu funkciju (Sublime Text, leafpad)

 

 

Tas ir diezgan kaitinoši un traucējoši. Kā varētu noskaidrot kas tieši tā ir par problēmu un kā to atrisināt? 

Tas ir 7200rpm HDD. Vai varētu būt ka viņš strādā kaut kādā power save režīmā?

Link to comment
Share on other sites

sudo pacman -S hdparm

man hdparm

 

 -B     Get/set Advanced Power Management feature,  if  the drive  supports  it.  A  low value means aggressive power management and a high value means better performance.   Possible  settings  range from values 1 through 127 (which permit spin-down),  and  values 128  through  254  (which do not permit spin-down). The highest degree of power management is attained with  a  setting  of 1, and the highest I/O performance with a setting of 254.  A value of 255  tells hdparm  to  disable Advanced Power Management altogether on the drive (not all  drives  support  disabling it, but most do).
 
 -S     Put  the drive into idle (low-power) mode, and alsoset the standby (spindown) timeout for  the  drive. This  timeout  value is used by the drive to determine how long  to  wait  (with  no  disk  activity) before turning off the spindle motor to save power. Under such circumstances, the  drive  may  take  as long  as 30 seconds to respond to a subsequent disk access, though most drives are much  quicker.   The encoding of the timeout value is somewhat peculiar. A value of zero means "timeouts are disabled":  the device  will  not automatically enter standby mode. Values from 1 to 240 specify multiples  of  5  seconds,  yielding  timeouts from 5 seconds to 20 minutes.  Values from 241 to 251 specify from 1 to  11 units of 30 minutes, yielding timeouts from 30 minutes to 5.5 hours.  A  value  of  252  signifies  a timeout  of  21 minutes. A value of 253 sets a vendor-defined timeout period between 8 and 12  hours, and  the value 254 is reserved.  255 is interpreted as 21 minutes plus  15  seconds.   Note  that some older  drives  may  have very different interpretations of these values.
 
Edited by kristers_Z
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...