LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 01-31-2015, 11:56 PM   #1
vaikus84
LQ Newbie
 
Registered: Jan 2015
Location: Estonia
Distribution: Linux Lite 2.2, Linux Mint XFCE, Linux Mint Mate, Manjaro, Netrunner 14.1, Elementary OS
Posts: 24

Rep: Reputation: Disabled
Question How to set up an HDD and its free-fall sensor on Lenovo ThinkPad T430?


Hello HDD enthusiasts of LinuxQuestions,

I'm new to Linux. How would I go about optimizing My HDD to work balanced and long on it?
Meaning : scheduler / hdparm / free-fall sensor / acpi_call / hdaps / tp-smapi(needed?) etc.

Would love to use TLP for it. So I could potentially tweak some other aspects of power management also like - Runtime Power Management / advanced power management / SATA aggressive link power management (ALPM) / PCI Express Active State Power Management (PCIe ASPM) etc.

Also would love to know the best balanced settings for those mentioned.

Any advice on what settings to use for this?:
(From what I understand this gives info to hdparm so essentially those are numbers to send to hdparm?)

# Hard disk advanced power management level: 1(max saving)..254(off)
# Levels 1..127 may spin down the disk.
# Separate values for multiple devices with spaces.
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="200 200"


Thank you in advance,
vaikus84

Last edited by vaikus84; 02-03-2015 at 12:04 AM. Reason: updated on line tp-smapi
 
Old 02-06-2015, 03:23 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Have a look at hdparm with

info hdparm.
 
Old 02-07-2015, 12:44 AM   #3
vaikus84
LQ Newbie
 
Registered: Jan 2015
Location: Estonia
Distribution: Linux Lite 2.2, Linux Mint XFCE, Linux Mint Mate, Manjaro, Netrunner 14.1, Elementary OS
Posts: 24

Original Poster
Rep: Reputation: Disabled
Code:
neo@Matrix-ThinkPad-T430:~$ sudo hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
	Model Number:       ST320LT007-9ZV142                       
	Serial Number:      W0Q5LQ06
	Firmware Revision:  0004LVM1
	Transport:          Serial
Standards:
	Used: unknown (minor revision code 0x0029) 
	Supported: 8 7 6 5 
	Likely used: 8
Configuration:
	Logical		max	current
	cylinders	16383	65535
	heads		16	1
	sectors/track	63	63
	--
	CHS current addressable sectors:    4128705
	LBA    user addressable sectors:  268435455
	LBA48  user addressable sectors:  625142448
	Logical  Sector size:                   512 bytes
	Physical Sector size:                  4096 bytes
	Logical Sector-0 offset:                  0 bytes
	device size with M = 1024*1024:      305245 MBytes
	device size with M = 1000*1000:      320072 MBytes (320 GB)
	cache/buffer size  = 16384 KBytes
	Nominal Media Rotation Rate: 7242
Capabilities:
	LBA, IORDY(can be disabled)
	Queue depth: 32
	Standby timer values: spec'd by Standard, no device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 16
	Advanced power management level: 254
	Recommended acoustic management value: 254, current value: 0
	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	SMART feature set
	    	Security Mode feature set
	   *	Power Management feature set
	   *	Write cache
	   *	Look-ahead
	   *	Host Protected Area feature set
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	DOWNLOAD_MICROCODE
	   *	Advanced Power Management feature set
	    	SET_MAX security extension
	   *	48-bit Address feature set
	   *	Device Configuration Overlay feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
	   *	General Purpose Logging feature set
	   *	64-bit World wide name
	   *	IDLE_IMMEDIATE with UNLOAD
	   *	Write-Read-Verify feature set
	   *	WRITE_UNCORRECTABLE_EXT command
	   *	{READ,WRITE}_DMA_EXT_GPL commands
	   *	Segmented DOWNLOAD_MICROCODE
	   *	Gen1 signaling speed (1.5Gb/s)
	   *	Gen2 signaling speed (3.0Gb/s)
	   *	Native Command Queueing (NCQ)
	   *	Host-initiated interface power management
	   *	Phy event counters
	   *	Idle-Unload when NCQ is active
	    	Device-initiated interface power management
	   *	Software settings preservation
	   *	SMART Command Transport (SCT) feature set
	   *	SCT Read/Write Long (AC1), obsolete
	   *	SCT Error Recovery Control (AC3)
	   *	SCT Features Control (AC4)
	   *	SCT Data Tables (AC5)
	    	unknown 206[12] (vendor specific)
	    	unknown 206[13] (vendor specific)
Security: 
	Master password revision code = 65534
		supported
	not	enabled
	not	locked
		frozen
	not	expired: security count
		supported: enhanced erase
	62min for SECURITY ERASE UNIT. 62min for ENHANCED SECURITY ERASE UNIT. 
Logical Unit WWN Device Identifier: 5000c50053405a0f
	NAA		: 5
	IEEE OUI	: 000c50
	Unique ID	: 053405a0f
Checksum: correct
 
Old 02-08-2015, 06:02 AM   #4
vaikus84
LQ Newbie
 
Registered: Jan 2015
Location: Estonia
Distribution: Linux Lite 2.2, Linux Mint XFCE, Linux Mint Mate, Manjaro, Netrunner 14.1, Elementary OS
Posts: 24

Original Poster
Rep: Reputation: Disabled
Hdparm does not answer my question.
 
  


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
How to set the right display color profile and more for a Lenovo Thinkpad T430? vaikus84 Linux - Laptop and Netbook 2 02-04-2015 09:02 AM
How to set up sound on a Lenovo ThinkPad T430? vaikus84 Linux - Laptop and Netbook 0 02-02-2015 08:44 AM
How to set up Lenovo Thinkpad T430's FN and special keys? vaikus84 Linux - Laptop and Netbook 2 02-01-2015 12:43 PM
How to set up Lenovo Thinkpad T430's network devices to be efficient? vaikus84 Linux - Laptop and Netbook 1 02-01-2015 12:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 09:49 AM.

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