LinuxQuestions.org
Visit Jeremy's Blog.
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 10-04-2006, 06:52 AM   #1
stan.distortion
Member
 
Registered: Sep 2005
Location: ireland
Distribution: debian with bits of everything stuck on it
Posts: 114

Rep: Reputation: 15
swap on cf card with old laptop


Using an old PII panasonic with a bios ram limit of 192M and a slow hard drive. would it make sense to disable the hard disc swap an use a PCMCIA CF card reader with maby a 512M flash card set up as swap space? the extra ram in the laptop is either PC66 or PC100, would the flash card be faster than the ram and if so should i take out the extra ram (it has 64M built in)? might there be problems with hardware suspend/resume, application problems i can live with but system crashes... PII, its stable but you get to read every message that goes by at startup
thanks
stan
 
Old 10-04-2006, 10:42 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
I'm not an expert on this, but here's my opinion.

First of all, RAM memory is much faster and more economical than anything else. So definitely keep all the physical RAM your system can handle. You might try checking to see if there's a bios upgrade available that will raise the RAM ceiling.

As for flash memory, it would almost certainly be faster than a hard disk swap drive (though it might depend on the performance of the buses and such), but you also have to remember that flash has a limited write-erase life cycle. Using it as extra memory on a low RAM system would tend to burn the stick out rather rapidly. This point has always made me wonder what M$ was thinking when it added the similar "RAM booster" ability to Vista. Still, if you're willing to handle the expense, it might be a good way to raise the maximum available memory on your system.

I have no idea how stable it would be though, or how it might affect the suspend functions or other things. You'd probably just have to experiment.

A hard disk swap drive may be slow, but it's probably the most dependable way to do it. Even better might be to put it on an external hard disk, perhaps a microdrive, so that the system doesn't have to use the same heads for data and swap writing.
 
Old 10-05-2006, 10:52 AM   #3
stan.distortion
Member
 
Registered: Sep 2005
Location: ireland
Distribution: debian with bits of everything stuck on it
Posts: 114

Original Poster
Rep: Reputation: 15
thanks for the reply
living in france, a 512M card is 13 euro here:
http://www.rue-montgallet.com/
so with that and a reader for around 20 it wont break the bank to give it a try. a microdrive would be perfect, may even be faster through the pcmcia than the internal hard drive, just a shame there so expensive.
one thing mentioned in one of the links below (that i should have checked first, oops) was the usb, or pcmcia in this case, getting loaded after the swap is normaly turned on at boot so might have to put in a script to turn on the CF swap and turn off the HD swap after everything is running.
as for the standby, ill give it a try and see what happens. have another question posted about detecting hardware suspend, if that one can be worked out then another script could take care of any problems.
so will leave the ram where it is and get a card this weekend, post back next week with the results.
thanks again
stan
 
Old 02-02-2007, 12:55 PM   #4
stan.distortion
Member
 
Registered: Sep 2005
Location: ireland
Distribution: debian with bits of everything stuck on it
Posts: 114

Original Poster
Rep: Reputation: 15
OK, so its a bit more than a week
Normaly with this laptop things start to slow down when kontact is open and there are around 5 web pages open in konqueror, then open something in abiword and it almost grinds to a complete stop.
At the moment there are 11 web pages open in konqueror, around half of them fairly heavy and using flash, kontact is open, kmldonkey is open, abiword is open and xmms is playing and not missing a beat.
Just opened a spreadsheet in openoffice too, it took around twice as long to open as it would on an empty session. Now it is up and running everything is responsive with nothing taking much more than a second to come up when switching desktops.
Some of the web pages are taking a little longer, less than 3 seconds to change tabs and the poxy flash animations are jumpy. Dont really care, flash is a waste of a good connection
Anyway, it works digital8doug, thanks for reminding me.

CF card is a sandisk 512MB, not sure what speed, I think its 4x

output 'free':
total used free shared buffers cached
Mem: 190800 187924 2876 0 2152 58728
-/+ buffers/cache: 127044 63756
Swap: 497972 200028 297944

note: had to add 'pci=usepirqmask' to the kernel commands in /boot/grub/menu.1st to get the pcmcia system to work. The kernel told me to do it. Thanks kernel.

Cheers
Stan
 
Old 04-06-2007, 12:50 PM   #5
stan.distortion
Member
 
Registered: Sep 2005
Location: ireland
Distribution: debian with bits of everything stuck on it
Posts: 114

Original Poster
Rep: Reputation: 15
Quick note: Having a few errors with this, mainly with suspend and resume.
Just got a microdrive from fleabay, seagate 4gb st1. Bad idea, the drive is marked "embedded use only" and the damn thing wont work in a pcmcia cf card reader. Works fine as storage with a usb reader, apparently it is due to the firmware being locked as IDE only so it wont work as a CF card. Will start a new thread for it if I can find a way round this.
Cheers,
Stan
 
  


Reply

Tags
flashmemory


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
Do I need SWAP on for my Laptop? mickyg Linux - General 43 02-08-2007 08:18 AM
Using Smart Card for Swap Partition? bluesman2333 Linux - Hardware 3 02-04-2005 06:49 PM
laptop freezing up, swap disabled? ehawk Linux - Hardware 0 10-04-2004 03:27 PM
Swap-out cd/floppy drive on laptop. acratus Slackware - Installation 4 07-24-2004 02:02 PM
Good video card swap? BRoscoL Linux - General 1 05-23-2004 03:19 PM

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

All times are GMT -5. The time now is 10:45 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