Posts Tagged Ram

How to add more memory to a Ubuntu Server with a Swap File

Types-of-Computer-MemoryIn linux Swapping is the process where memory is copied to the hard disk in space called swap space to free up physical memory. This is the same as virtual memory in linux. It is useful for two important reasons, First, when the system requires more memory than is physically available the kernel swaps out less used pages and gives memory to the current application (process) that needs the memory immediately. Second, a significant number of the pages used by an application during its startup phase may only be used for initialization and then never used again. The system can swap out those pages and free the memory for other applications or even for the disk cache.

There are two ways of setting up swap space in Linux, the most common is to set aside a swap partition when setting up the machine, the second is to set up a swap file. The later is useful if you didn’t set up a swap partition or if you’re using something like an Amazon EC2 micro instance that does not come pre-configured with a swap partition. Read the rest of this entry »

, , , , , , , , ,

No Comments

What Why and How RAM DISK

A RAM disk or RAM drive is a block of system memory that the operating system is treating as if it were a hard drive. It is sometimes called a “virtual RAM drive” or “software RAM drive” to distinguish it from a “hardware RAM drive” witch uses separate hardware containing RAM, i.e. solid-state drives.

There are several benefits to using RAM Disks over normal Hard Drives, the first being the performance increases that RAM Disks have. Hard Drives are probably the slowest memory we use in our computers, however the memory is some of the fastest memory we have, therefore ram disks are considerably faster than normal Hard Drives. The other major benefit is security, Read the rest of this entry »

, , , , , ,

No Comments