Good I tried up to 4 gb and that was huge diff

Remo

Il giorno 20 set 2017, alle ore 18:29, Eric Broch <ebr...@whitehorsetc.com> ha 
scritto:

Not yet, I'll get around to it tomorrow; although, I did create a ramdisk not 
using qmail and the i/o is below...ramdisk and regular disk:
# mount -t tmpfs -o size=1024m myramdisk /root/test
Tests:

<ramdisk>

[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.137311 s, 298 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.0830357 s, 493 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.127313 s, 322 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.0831524 s, 493 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.0971883 s, 421 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.0582312 s, 703 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.0823376 s, 497 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.0476335 s, 860 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.0958023 s, 428 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.0577131 s, 710 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.0953467 s, 430 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.0550215 s, 744 MB/s

</ramdisk>

<disk>

[root@pet105 ~]# umount /root/test
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.173289 s, 236 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.0778732 s, 526 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.445783 s, 91.9 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.0888948 s, 461 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.300269 s, 136 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.077496 s, 529 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.651333 s, 62.9 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.0792704 s, 517 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.336917 s, 122 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.0509368 s, 804 MB/s
[root@pet105 ~]# dd if=/dev/zero of=/root/test/zero bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.300024 s, 137 MB/s
[root@pet105 ~]# sudo dd if=/root/test/zero of=/dev/null bs=4k count=10000
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 0.0865258 s, 473 MB/s
</disk>

> On 9/20/2017 7:08 PM, Remo Mattei wrote:
> Hi Eric, 
> did you try the config of the ramdisk? I was doing some testing and in the 
> small file it's not a big change but when you go up in size it does make a 
> diff.. I wonder if you configured it to use it with qmail.. I notice that the 
> tmfs is going to change the permissions so not sure without checking out how 
> the permissions will apply since now the simscan folder has 4750 on it. 
> 
> Ciao 
> 
>> On 9/19/17 8:42 AM, Eric Broch wrote:
>> Hi Rajesh,
>> 
>> It looks straight forward:
>> https://www.linuxbabe.com/command-line/create-ramdisk-linux
>> 
>> https://www.jamescoyle.net/how-to/943-create-a-ram-disk-in-linux
>> 
>> I've never done it, but may give it a try today or tomorrow.
>> Eric
>> 
>> 
>> 
>>> On 9/19/2017 8:42 AM, Rajesh M wrote:
>>> hi all,
>>> 
>>> has anyone tried putting the 
>>> 
>>> /var/qmail/simscan folder on ramdisk
>>> 
>>> how do i do it incase of centos 6
>>> 
>>> i was checking out this page and found that it significantly increases 
>>> performance
>>> https://qmail.jms1.net/simscan/
>>> 
>>> if anyone has done it could you please share the details of how to do it 
>>> and the performance improvement.
>>> 
>>> thanks
>>> rajesh
>>> 
>>> 
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
>>> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>> 
>> -- 
>> Eric Broch
>> White Horse Technical Consulting (WHTC)
> 

Reply via email to