LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-12-2010, 04:50 AM   #1
Siljrath
Bedrock Linux Advocate
 
Registered: Nov 2004
Location: the internet
Distribution: server:Gentoo | workstation:Bedrock (hijacked:void, fetched:Gentoo,Devuan,Artix)
Posts: 226

Rep: Reputation: 66
Arrow set specific application to always reside in ram, for +performance


how can you set specific application's data to always reside in ram, so it runs and launches super fast all the time?

i recall reading about how you could put all your libs folders into ramfs once, but it took up a lot of ram, so i never bothered, and it was really just for faster (instant) launching times.

i just want to be able to set that for specific things, like for example, the GIMP and Inkscape.
 
Old 06-12-2010, 05:36 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You'd have to statically link them. And you'd be facing the same problem.
Get an SSD HDD and put /usr and/or /opt on it.



Cheers,
Tink
 
Old 06-13-2010, 12:31 AM   #3
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
Well... you could hack something together that would, at system launch or on command, copy all the program files to a ramfs or tmpfs. Both can be created using mount or fstab and both have different but similar characteristics. BUT if you are doing it only for two programs you would have to recompile them and make sure they are statically linked and that they will grab all their runtime files from wherever you mount your ram/tmpfs... Ofcourse you could also do bind mounts to an existing package but that would be really messy. In anycase, this wouldn't fully accomplish what you want as the program would essentially be in your memory twice residing as a file on the ram/tmpfs and as runtime program information in the normal ram.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
using OpenVPN for specific application(s) amaj1407 Linux - Networking 10 07-05-2009 02:10 PM
Tip: Loading specific gtk theme for a specific application Su-Shee Linux - Desktop 0 05-22-2008 12:59 PM
SuSE10 Performance on 256mb RAM mazinoz SUSE / openSUSE 2 07-24-2006 06:34 AM
where do my application files reside? bobotoes Linux - Newbie 5 12-23-2004 10:09 PM
Linux performance vs RAM amount PhilD Linux - General 3 06-02-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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