LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-26-2011, 04:41 PM   #1
aSystemOverload
LQ Newbie
 
Registered: Nov 2011
Posts: 13

Rep: Reputation: Disabled
Do I need to configure bios for SSD speeds?


I've recently installed an SSD in my mint 10 machine, but it takes just as much time to boot as the old standard sATA drive.

Do I need to do any configuration to get it to boot up quickly?
 
Old 11-26-2011, 05:11 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,524
Blog Entries: 1

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Make sure you've chosen SATA 6Gb/s to utilise full speed.

What's the output of (as root):
Code:
htparm -I /dev/sda
(or b whichever drive is your ssd)

btw, which filesystem is on that partition?
what's your /etc/fstab line for that drive?

Last edited by sycamorex; 11-26-2011 at 05:12 PM.
 
Old 11-26-2011, 07:49 PM   #3
sgosnell
Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian
Posts: 333

Rep: Reputation: 59
Installing readahead will help. Tweaking boot times is more an art than a science, IMO, and you may have to do some research using Teh Google and try different things until you're somewhat satisfied.
 
Old 11-28-2011, 05:51 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 10,989

Rep: Reputation: 1354Reputation: 1354Reputation: 1354Reputation: 1354Reputation: 1354Reputation: 1354Reputation: 1354Reputation: 1354Reputation: 1354Reputation: 1354
There is a lot to those ssd setups on most brands.

What exactly do you have?
 
Old 12-01-2011, 02:27 PM   #5
aSystemOverload
LQ Newbie
 
Registered: Nov 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
HARD DRIVE:

http://www.ocztechnology.com/ocz-agi...i-2-5-ssd.html


Quote:
60GB Max Performance*

Max Read: up to 525MB/s
Max Write: up to 475MB/s
Random Write 4KB: 50,000 IOPS
Maximum 4K Random Write: 80,000 IOPS

Available in 60GB, 90GB, 120GB, 240GB, and 480GB Capacities
MLC NAND Flash
Interface: SATA 6Gbps / Backwards Compatible 3Gbps
Native TRIM support
Seek Time: .1ms
Motherboard: Asus P5K

4 x SATA 3.0 Gb/s ports

Formatted as EXT4

Will having a standard HDD on the same sATA port slow it down? And yes I realise it's a 6Gb/s SSD on a 3Gb/s port.
 
Old 12-01-2011, 02:50 PM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,524
Blog Entries: 1

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
What's the output of the command I posted above and how do you mount this partition in /etc/fstab?

Yeah, looking at the specs of your motherboard you might not be able to run the drive at its full speed.
 
Old 12-01-2011, 02:55 PM   #7
aSystemOverload
LQ Newbie
 
Registered: Nov 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
Sorry, getting to it...

Code:
sudo hdparm -I /dev/sda1

/dev/sda1:

ATA device, with non-removable media
	Model Number:       OCZ-AGILITY3                            
	Serial Number:      OCZ-23R2AO8CN6269SB8
	Firmware Revision:  2.11    
	Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
	Used: unknown (minor revision code 0x0110) 
	Supported: 8 7 6 5 
	Likely used: 8
Configuration:
	Logical		max	current
	cylinders	16383	16383
	heads		16	16
	sectors/track	63	63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:  117231408
	LBA48  user addressable sectors:  117231408
	Logical  Sector size:                   512 bytes
	Physical Sector size:                   512 bytes
	Logical Sector-0 offset:                  0 bytes
	device size with M = 1024*1024:       57241 MBytes
	device size with M = 1000*1000:       60022 MBytes (60 GB)
	cache/buffer size  = unknown
	Nominal Media Rotation Rate: Solid State Device
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
	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
	   *	NOP cmd
	   *	DOWNLOAD_MICROCODE
	   *	Advanced Power Management feature set
	    	Power-Up In Standby feature set
	   *	SET_FEATURES required to spinup after power up
	   *	48-bit Address feature set
	   *	Mandatory FLUSH_CACHE
	   *	FLUSH_CACHE_EXT
	   *	SMART error logging
	   *	SMART self-test
	   *	General Purpose Logging feature set
	   *	WRITE_{DMA|MULTIPLE}_FUA_EXT
	   *	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)
	   *	unknown 76[3]
	   *	Native Command Queueing (NCQ)
	   *	Host-initiated interface power management
	   *	Phy event counters
	   *	unknown 76[14]
	   *	unknown 76[15]
	    	DMA Setup Auto-Activate optimization
	    	Device-initiated interface power management
	   *	Software settings preservation
	   *	SMART Command Transport (SCT) feature set
	   *	SCT Data Tables (AC5)
	   *	DOWNLOAD MICROCODE DMA command
	   *	SET MAX SETPASSWORD/UNLOCK DMA commands
	   *	WRITE BUFFER DMA command
	   *	READ BUFFER DMA command
	   *	Data Set Management TRIM supported
	   *	Deterministic read data after TRIM
Security: 
	Master password revision code = 65534
		supported
	not	enabled
	not	locked
		frozen
	not	expired: security count
	not	supported: enhanced erase
	2min for SECURITY ERASE UNIT. 
Logical Unit WWN Device Identifier: 5e83a97f5a9932a1
	NAA		: 5
	IEEE OUI	: e83a97
	Unique ID	: f5a9932a1
Checksum: correct
 
Old 12-01-2011, 02:57 PM   #8
aSystemOverload
LQ Newbie
 
Registered: Nov 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda5 during installation
UUID=d939c345-55d4-4369-9e67-1c2bbb03d681 / ext4 noatime,discard 0 1 <<< SSD
# /boot was on /dev/sda1 during installation
UUID=4a100542-dccb-4baf-8618-0f78414d8a86 /boot ext4 noatime,discard 0 2 <<< SSD
# /home was on /dev/sdb1 during installation
UUID=98d10f89-67e7-4a80-ae86-e476236bee48 /home ext4 defaults 0 2
# /usr was on /dev/sdb5 during installation
UUID=562ee109-79b8-4656-81d4-bdd9e2526e6e /usr ext4 defaults 0 2
# /var was on /dev/sda7 during installation
UUID=31cec12e-d3ef-4458-bdb8-4c8fd4202c2b /var ext4 noatime,discard 0 2 <<< SSD
# swap was on /dev/sda8 during installation
UUID=d4b4953e-279f-4909-a5fe-4dfaecbf742e none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sdd1 /media/sdd1 ext4 defaults 0 0
/dev/sdc1 /media/sdc1 ext4 defaults 0 0
#temp file settings
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/log tmpfs defaults,noatime,mode=0755 0 0
tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
 
Old 12-01-2011, 02:59 PM   #9
aSystemOverload
LQ Newbie
 
Registered: Nov 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
I understand I can't run it at full speed, but it still hits 250Mb/s in comparrison to my HDDs which are around 50Mb/s, so why does boot take the same time>!>

Does having HDDs on the same port/cable affect it's speed. Should I have JUST the SSD on it?
 
Old 12-01-2011, 03:19 PM   #10
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,524
Blog Entries: 1

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
hmmm, not sure. I have seen a difference in boot times when I replaced my old drive with an ssd.

I mount it as follows:
Code:
/dev/sda1        /                ext4        noatime,nodiratime,discard,data=ordered,errors=remount-ro         0   1
Did you align the partitions before you installed anything?
http://www.ocztechnologyforum.com/fo...226#post373226
 
Old 12-01-2011, 03:26 PM   #11
aSystemOverload
LQ Newbie
 
Registered: Nov 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
No I didn't. That's a read for another day when I have more time, will report back..
 
Old 12-01-2011, 04:30 PM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,346
Blog Entries: 2

Rep: Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978
Quote:
Originally Posted by aSystemOverload View Post
Does having HDDs on the same port/cable affect it's speed. Should I have JUST the SSD on it?
SATA is a point-to-point connection, how have you managed to get another drive to the same port/cable?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
eeepc 701-4g won't boot, bios or ssd? lifemagic Linux - Laptop and Netbook 23 09-12-2010 09:49 AM
configure a bios without external peripherals such as keyboards? CoffeeKing!!! General 6 09-05-2008 12:41 PM
Configure BIOS silverbirch Linux - Newbie 3 02-06-2005 12:32 AM
old BIOS (1992) won't detect my cdrom drive; BIOS says: neither IDE prots enabled carbono Linux - Hardware 5 05-18-2004 11:07 AM


All times are GMT -5. The time now is 09:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration