UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed Xubuntu on a penstick and have read many tweaks about performance and wanted to ask this forum for its opinion on how much should be added to RAM via /dev/shm and or tmpfs?
I don't think adding more RAM space for /dev/shm is going to translate into a performance boost (unless you're running large memory consuming applications). The speed is more or less going to be determined how fast the data can be read from the USB stick, which is more of a hardware issue.
I think that would depend on what you intend to do. Back when I was using gentoo - a loooong time ago - there was really a point to using tmpfs because it meant that temporary files created during compilation were not written to disk but to RAM so if it was a large piece of software - which translated to many such files - the gains could be considerable. In all other cases, I don't expect you will really benefit. Maybe having temporary files written to RAM will increase the life span of your thumb drive but the performance boost would be minimal.
that is exactly what I intend to due. The application that will be used I will use tmpfs to store its temporary files such as the caching and temporary files that can be pulled out of memory as opposed to using the pen-stick. From what I understand there will be less read/writes to the stick and using the faster memory as opposed to the pen-stick.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.