LinuxQuestions.org
Visit Jeremy's Blog.
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-09-2007, 08:38 AM   #1
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Use a CompactFlash card as extra RAM with a PCMCIA adaptor?


I have a laptop with 512MB of RAM, which is fine for every day use - I rarely go into swap.

However, I often use VirtualBox to run Windows XP (to which I've allocated 256MB of my RAM). This has a detrimental effect on the performance of both the host (Slackware) and the guest (Windows XP) as a lot of stuff in memory seems to get moved over to swap (which increases in use from ~10-20MB to ~200-300MB).

I've seen articles about people using memory cards (digital camera type cards) as either an extension of their RAM or as a swap partition.

Would I see a benefit in using a CompactFlash card in a PCMCIA adaptor as a swap partition, rather than my hard drive? What about a SmartDigital card? What throughput can I expect from a PCMCIA slot?

Finally, would all this (1GB CF card + PCMCIA adaptor = ~30) be comparable in performance to just buying a new 1GB stick of RAM (~50)?
 
Old 11-09-2007, 02:54 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025
If you want my uninformed opinion, I'm sure it would be faster than a HDD swap, and a swap partition or file would be easy to set up on one, but I couldn't tell you what kind of throughput you'd get. I imagine it would depend a lot on your exact hardware specs, the speed of your data bus, what the flash card read/write speed is, etc.

But I always been suspicious about just how good an idea this is. Flash memory is severely limited in the number of write/erase cycles it can go through. To use it as swap or system memory risks burning the thing out in a very short time. While it may be more convenient in the short term, or as an emergency measure, I believe that adding more system ram is almost always a better buy in the long run.
 
Old 11-09-2007, 03:36 PM   #3
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Original Poster
Rep: Reputation: 128Reputation: 128
After I'd posted, and realising how small the difference between the flash system and the RAM is, I think I'll go for the extra RAM. It's just unfortunate that my set-up at the moment is 2x256 sticks, which means I'll have to lose one in order to add the 1GB stick.

We all have our crosses to bear!
 
  


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
PCI card --> PCMCIA adaptor --> cellular data service johnMG Linux - Wireless Networking 4 08-02-2005 02:15 PM
CompactFlash PC Card Adapter juyce Ubuntu 2 07-22-2005 04:50 PM
digital camera SD card pcmcia adaptor MDK 9.2 dr_skids Linux - Hardware 0 04-20-2005 03:54 PM
PCMCIA->CompactFlash adapter card freezes my laptop geeksunny Linux - Hardware 3 03-20-2005 10:03 AM
CompactFlash PCMCIA Card reader problems kirillka Linux - Newbie 2 09-29-2004 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

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