[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
db stick in RAM ?
- To: openldap-technical <openldap-technical@openldap.org>
- Subject: db stick in RAM ?
- From: Frank Bonnet <f.bonnet@esiee.fr>
- Date: Tue, 19 Oct 2010 10:40:15 +0200
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4
Hello
I'm thinking to put db files in RAM instead of hard disk
for performance reasons.
FreeBSD ( and Linux thought ) provide some utility to build
RAMDISK ( md )
I did some tests in rebuilding db files with the slapcat/slapadd
commands
with RAMDISK
ldap3# time slapadd -l test.ldif
/usr/local/etc/openldap/slapd.conf: line 110: rootdn is always granted
unlimited privileges.
#################### 100.00% eta none elapsed 20s spd
633.9 k/s
WITH HARDDISK
ldap3# time slapadd -l test.ldif
/usr/local/etc/openldap/slapd.conf: line 110: rootdn is always granted
unlimited privileges.
#################### 100.00% eta none elapsed 04m22s spd
48.4 k/s
Does anyone runs production servers with ramdisk ?
I know it is risky but running rsyncd between ramdisk and a hardisk
depot would be safe huh ?
Thanks for any advices