Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: MySQL and writing RAMFS for tmp question

From: Stewart Smith <stewart(at)mysql.com>
Date: Thu Jul 26 2007 - 01:34:14 EDT


On Wed, 2007-07-25 at 19:51 -0700, Mariella Petrini wrote:
> 1)
> mount -t ramfs ramfs /space
>
> 2)
> dd if=/dev/zero of=/dev/ram1 bs=512 count=97800
> mkfs.ext3 /dev/ram1
> mount /dev/ram1 /space

This is quite silly as tmpfs uses the normal cache (just with no disk backing) and ramfs is then using RAM as a block device... which then running ext3 on (which does journalling and other pointless things).

ramfs will be heaps more efficient. really. the tmpfs code is lovely and simple :)

-- 
Stewart Smith, Senior Software Engineer
MySQL AB, www.mysql.com
Office: +14082136540 Ext: 6616
VoIP: 6616@sip.us.mysql.com
Mobile: +61 4 3 8844 332

Jumpstart your cluster:
http://www.mysql.com/consulting/packaged/cluster.html
Received on Thu Jul 26 01:34:13 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:06:21 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library