LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-03-2005, 06:51 AM   #1
bluesman2333
Member
 
Registered: Dec 2003
Location: Phoenix, Az.
Distribution: Xubuntu Edgy
Posts: 330

Rep: Reputation: 30
Using Smart Card for Swap Partition?


I have a fairly fast system. Not that I need any more speed, I was wondering about the Swap Partition. Would I gain any performance if I installed a 2 GB smart card in the internal USB 2.0 Smart Media Card reader and made that my Swap? The card I would use would be permanently left in a slot I don't use anyway. I assume that there would be some gain due to the seek time of a HDD vs. a memory module.

Any thoughts?
 
Old 02-03-2005, 01:29 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
How much swap are you using? Are you running any really intensive memory applications? Besides USB is not as fast as IDE and have you compared the latency of a hard drive vs speed of USB?

BTW do you use other USB memory devices? Does the PC always recognize the card reader 1st? It is possible that the device ID will change if you have other USB devices pluged in at boot. Usually USB modules are loaded after the OS mounts the filesystems via fstab. So you will need to activate swap as the last thing or compile the USB modules in the kernel or add them to the initrd.

Last edited by michaelk; 02-03-2005 at 01:37 PM.
 
Old 02-04-2005, 06:41 PM   #3
bluesman2333
Member
 
Registered: Dec 2003
Location: Phoenix, Az.
Distribution: Xubuntu Edgy
Posts: 330

Original Poster
Rep: Reputation: 30
:lol: So what you are saying is that I am better off keeping things as they are.
 
Old 02-04-2005, 06:49 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
IMHO yes.
 
  


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
Smart card reader (PCI) with open pgp card cracidy Linux - Hardware 0 10-24-2005 02:34 AM
Smart Media Card Problems sprflyzapp Linux - Hardware 2 09-26-2005 07:56 AM
problem with smart card reader pxes351 Linux - Hardware 2 03-07-2005 01:11 AM
smart media card support fatherg Linux - General 17 12-22-2004 08:01 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM

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

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