LinuxProNews (Enable Images To Fully Enjoy)
February 10, 2012
How To Set Up A Tmpfs For Fast Writing/Reading
By Bryan Young
I have been developing a program recently that was doing a large number of reads and writes from the filesystem. This was creating a bottleneck that was slowing my program a significant amount. I had to do something to speed up my program, so i decided to utilize tmpfs to speed everything up.

Most *nix operating systems support creating of a tmpfs, which is a temporary file system entirely in memory. This makes it extremely fast. In fact, depending on which version of *nix you are using, there might already be a tmpfs set up on your system. On our servers (CentOS 6) there is a tmpfs set up at /dev/shm. It is only 2GB, but it is there if needed.

Creating your own tmpfs is as easy as mounting a standard hard drive into a system. First thing to do is to create a directory to mount onto.

Continue Reading
Performance Monitoring Software for Websites, Servers and Infrastructure
Download your FREE 14-day evaluation of WebWatchBot and begin experiencing the benefits of reliable monitoring today.

Today's Top Videos:
Statistics In: The Most and Least Effective Super Bowl Ads of 2012
The commercials in the Super Bowl this year made a big splash, but not all of them hit in a good way. Which ads were...
Netflix Must Focus on Content to Compete with Redbox & Verizon, Says Bryan Gonzalez
On Monday, Verizon and Coinstar, which is Redbox's parent company, announced a partnership that will bring a service...
Facebook's $100 Billion Valuation Is Too High, According to Francis Gaskins
While Facebook's IPO has raised a lot of excitement in the tech space, it has also raised some questions.
Recent Articles:
Install Ubuntu Linux Within Parallels Desktop On Mac?
I need to test out some Web site programming on a Linux system and have determined that the Ubuntu distribution is ideal. My question: what's the best, easiest way to install Ubuntu Linux on my Mac system so I can run all my tests? Dave's Answer: There are a number of different ways to install Ubuntu Linux on your Mac system, but one of my favorites, hands down, is to install it within the Parallels Desktop environment. Why? Because it's literally a one-click download to get it...

Linux Distro News x
Quite a few distros have come out with updates in the last few weeks, so here is a summary of whats going on out there in the world of Linux. Red Hat - RHEL 5.8 was recently released as a beta for users to test out. Although RHEL 6.2 has already been released, Red Hat will still...
How-To Choose The Right Distribution Of Linux
Which distribution is the RIGHT distribution? Is there such a thing? When you start your journey with Linux you might here something like this: - Ubuntu is the best distribution for the desktop - Linux Mint is the best distribution for a home...
Create Custom Cheat Sheets For Linux!
You all probably saw the article a few weeks ago about various Linux cheat sheets to help you feel your way around. While it's nice to have pre-made sheets that you can just download and use, sometimes they don't have everything that you're...
Other iEntry Business Resources:
--This email is a service of LinuxProNews--
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2012 iEntry, Inc. All Rights Reserved Privacy Policy Legal
LinuxProNews: ">Deactivate / For other inquiries: