Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

speeding up disk-based laptop by moving /usr to flash?



At the last BLU meeting I was thinking out loud about buying netbook, but
I'm leaning away from that now. I think someone mentioned here "the keyboard
is just too small," and I'm starting to think the lack of 4:3 aspect ratio
netbooks is really a dealbreaker for me. I need my 768 lines.

I currently use Ubuntu 9.10 on a Thinkpad X41 Tablet.

I've thought about replacing my hard drive with an SSD device, but I'm
reading a lot of FUD that's giving me... well FUD. It seems that the cheap
SSD devices are unreliable and of unknown origin (a lot like CD and DVD
blanks) and unfortunately have a tendency to NOT report read and write
errors. Eek! Don't put your data there. And premium SSD devices are just too
expensive to justify for a home user.

So here's a possible plan I conceived tonight: My goals are to maximize the
perceived performance of my Thinkpad as well as maximizing battery life.

1. Buy a fresh battery. (No question about this step; the current one is
weak and years old.)
2. Keep the 60GB parallel ATA (IDE) hard drive and keep most of my stuff on
it.
3. Install a 16GB "133x" (20MB - 25MB per second) CF card in a PCMCIA-CF
adapter in my PCMCIA slot. -- I never use the slot for anything else.
4. Move /usr to the CF card and mount it from there with "no access time
recording" switch. Maybe also /var and /etc.
5. Maybe try putting /tmp in a RAM disk. (See what uses /tmp first and
determine if it's worth carving out the block of RAM.)

Most of the parts of the OS that don't live in /usr and /etc and /var look
like they're small enough that moving them off the disk isn't worth it, and
at this point I think I want to keep my data on the disk.

I'm guessing this will improve my boot time as well as startup time for
applications by virtual of the fact that flash memory generally has much
faster seek time than a disk.

My concerns are:

- Will keeping a CF card in a PCMCIA adapter online consume a lot of
additional power?
- Will the maximum throughput of the CF card be so slow as to overshadow the
expected reduction in seek time?

Has anyone ever tried anything like this?

Would I get different performance from using an SD card in the SD slot? From
what I read tonight it seems the "Secure Digital" interface has even more
limited bandwidth than a typical CF card.


Brendan Kidwell






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org