Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Linux


Reply
 
Share Thread Tools Display Modes
Old 09-16-2008, 06:26 PM   #1
Low Bitrate
 
Join Date: Sep 2006
Posts: 77
wirelessdreamer is an unknown quantity at this point
Tuning Linux for SSD operation

I just picked up an ocz corev2 60gig ssd for my carpc. I haven't started using it yet, as I make to make sure I don't kill its write cycle limit (~10k) messing around. I've been thinking about it for a while now, and am leaning to having my ssd mounted read only.

Here are links to some sources i've been reading about it at:

http://gentoo-wiki.com/HOWTO_Read-on...Unionfs_Method
http://tombuntu.com/index.php/2008/0...-state-drives/
http://famvdploeg.com/blog/?p=40

as of now I think i'll mount the unionfs part on a flash drive, and just replace it whenever it burns out from too many writes.
wirelessdreamer is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 11-02-2008, 07:34 PM   #2
Low Bitrate
 
Join Date: Sep 2006
Posts: 77
wirelessdreamer is an unknown quantity at this point
var in ramfs is a bad idea

fyi putting var in a ramfs, and syncing it on shutdown is a bad idea, because when you do a partial boot, and it hasn't been fully restored and then back it up . . . you have to revert to an old image.
wirelessdreamer is offline   Reply With Quote
Old 11-03-2008, 12:55 AM   #3
Newbie
 
samr7's Avatar
 
Join Date: Mar 2006
Posts: 41
samr7 is on a distinguished road
Doesn't your SSD have some sort of wear leveling? I thought that with wear leveling, the write cycle lifetimes of a big device were so ridiculously large that the PC would break or get replaced with something better long before its flash started to fail.
samr7 is offline   Reply With Quote
Old 06-28-2009, 06:07 AM   #4
Variable Bitrate
 
hexxamillion's Avatar
 
Join Date: Dec 2007
Location: AZ
Posts: 338
hexxamillion is on a distinguished road
I know this is an old post...but just for any new visitors because of the links posted only one of them are actually worth looking at.

Simply put if you are using a carpc you probably aren't going to be doing consistent and major system logging/debugging..(unless you are troubleshooting). That being said this is a good start for minimizing diskwrite and save filesystem space:

Edit your /etc/fstab as follows:

Code:
[Device] [Mount Point] [Type] [Options] [Dump] [Pass] tmpfs /tmp tmpfs noatime 0 0 tmpfs /var/tmp tmpfs noatime 0 0 tmpfs /var/log tmpfs noatime 0 0 tmpfs /var/spool tmpfs noatime 0 0

I have a eeepc and this is how I have my fstab...more or less.. If you do need the logs for troubleshooting or debugging as I have had every once and a while you could always comment out the entry (using the # symbol) and reboot which will create your logs as normal.

Code:
[Device] [Mount Point] [Type] [Options] [Dump] [Pass] tmpfs /tmp tmpfs noatime 0 0 tmpfs /var/tmp tmpfs noatime 0 0 #tmpfs /var/log tmpfs noatime 0 0 tmpfs /var/spool tmpfs noatime 0 0


I definitely would not suggest making your entire /var temporary as this would impact packaging and other stuff...
__________________
"Live Free!!!...It's all about Open Source"
Worklog: '05 Nissan Altima Project (Intel D945GCLF2D)
Project #2:Solar Power Integration
Vimeo Vids:Project Videos
Blog: Hexxamillion.com- 100% Powered by Wind Energy
Twitter:http://twitter.com/hexxamillion
hexxamillion is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Frontend for Windows and Linux gbr Other Cool Front Ends 68 01-21-2009 09:55 PM
Linux duck duck goose! rocken Linux 11 03-12-2006 12:15 PM
Linux or Window$$ Psychobiker General MP3Car Discussion 68 02-17-2006 09:45 AM
The LOW Risk Linux Adventure... grepzen Software & Software Development 13 11-08-2004 10:12 PM



All times are GMT -5. The time now is 06:47 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
"VaultWiki" powered by VaultWiki v2.5.2.
Copyright © 2008 - 2009, Cracked Egg Studios.Ad Management by RedTyger
Message Board Statistics