Re: [qmailtoaster] qmail using ramdisk

2024-06-06 Thread Jeff Koch
Yes /var/qmail/queue. That folder has most of the I/O and where a ram 
disk has the most benefit. And when you create the ramdisk use 'noatime' 
so the CPU doesn't waste time logging meaningless access timestamps. You 
could do a tarzip backup of the queue folder every 10 minutes. If you 
have a substantial risk of unplanned shutdowns and crashes and you're 
dealing with critical emails I wouldn't use a ram disk.


Jeff

On 6/6/2024 1:20 PM, William Silverstein wrote:

I didn't think about the qmail log files, which would be good.

Where is qmail-queue? What is that? Do you mean /var/qmail/queue? I don't
want to risk mail being lost if the system was unexpectedly shutdown.





On Thu, June 6, 2024 5:39 am, Jeff Koch wrote:

We've used ramdisks to hold the qmail-queue and it did make a big
difference in speed. Depending on the size of ram disk you could also
consider including /var/log/qmail which also uses a lot of IO.  Although
we backed up the ram disk before planned reboots we weren't particularly
concerned if those two directories were accidentally wiped.

Jeff

On 6/6/2024 3:28 AM, William Silverstein wrote:

I wondered if using a RAM disk (maybe 32 GB) in Qmail would speed up
processing, i.e., handling scanning (using qmail-scanner)?

Is this a crazy idea?







Re: [qmailtoaster] qmail using ramdisk

2024-06-06 Thread Jeff Koch

Just my opinion

200 MB for the queue
1GB for logs assuming 21 logs x 14MB x 3(sub,send,smtp)

This assumes your going to use actual ram memory - not SSD and not swap 
- otherwise there's no point.


Jeff


On 6/6/2024 1:20 PM, William Silverstein wrote:

What would be a good size?

On Thu, June 6, 2024 3:50 am, Eric Broch wrote:

It should. Do you need 32 GB?

On 6/6/2024 1:28 AM, William Silverstein wrote:

I wondered if using a RAM disk (maybe 32 GB) in Qmail would speed up
processing, i.e., handling scanning (using qmail-scanner)?

Is this a crazy idea?




-
To unsubscribe, e-mail:[email protected]
For additional commands, e-mail:[email protected]






Re: [qmailtoaster] qmail using ramdisk

2024-06-06 Thread William Silverstein
If I am running files on a ramdisk, how will a journaling file system help?

On Thu, June 6, 2024 10:40 am, Remo Mattei wrote:
> HI,
> Keep in mind that you do have journaling file system as well.
>
> Remo
>
>> On Jun 6, 2024, at 10:20 AM, William Silverstein 
>> wrote:
>>
>> I didn't think about the qmail log files, which would be good.
>>
>> Where is qmail-queue? What is that? Do you mean /var/qmail/queue? I
>> don't
>> want to risk mail being lost if the system was unexpectedly shutdown.
>>
>>
>>
>>
>>
>> On Thu, June 6, 2024 5:39 am, Jeff Koch wrote:
>>> We've used ramdisks to hold the qmail-queue and it did make a big
>>> difference in speed. Depending on the size of ram disk you could also
>>> consider including /var/log/qmail which also uses a lot of IO.Â
>>> Although
>>> we backed up the ram disk before planned reboots we weren't
>>> particularly
>>> concerned if those two directories were accidentally wiped.
>>>
>>> Jeff
>>>
>>> On 6/6/2024 3:28 AM, William Silverstein wrote:
 I wondered if using a RAM disk (maybe 32 GB) in Qmail would speed up
 processing, i.e., handling scanning (using qmail-scanner)?

 Is this a crazy idea?



>>>
>>
>>
>> --
>> William G. Silverstein, Esq.
>> Litigation Counsel
>> Licensed in California.
>>
>>
>>
>>
>> -
>> To unsubscribe, e-mail: [email protected]
>> 
>> For additional commands, e-mail: [email protected]
>> 
>


-- 
William G. Silverstein, Esq.
Litigation Counsel
Licensed in California.




-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [qmailtoaster] qmail using ramdisk

2024-06-06 Thread Remo Mattei
HI, 
Keep in mind that you do have journaling file system as well. 

Remo

> On Jun 6, 2024, at 10:20 AM, William Silverstein  wrote:
> 
> I didn't think about the qmail log files, which would be good.
> 
> Where is qmail-queue? What is that? Do you mean /var/qmail/queue? I don't
> want to risk mail being lost if the system was unexpectedly shutdown.
> 
> 
> 
> 
> 
> On Thu, June 6, 2024 5:39 am, Jeff Koch wrote:
>> We've used ramdisks to hold the qmail-queue and it did make a big
>> difference in speed. Depending on the size of ram disk you could also
>> consider including /var/log/qmail which also uses a lot of IO.  Although
>> we backed up the ram disk before planned reboots we weren't particularly
>> concerned if those two directories were accidentally wiped.
>> 
>> Jeff
>> 
>> On 6/6/2024 3:28 AM, William Silverstein wrote:
>>> I wondered if using a RAM disk (maybe 32 GB) in Qmail would speed up
>>> processing, i.e., handling scanning (using qmail-scanner)?
>>> 
>>> Is this a crazy idea?
>>> 
>>> 
>>> 
>> 
> 
> 
> -- 
> William G. Silverstein, Esq.
> Litigation Counsel
> Licensed in California.
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [email protected] 
> 
> For additional commands, e-mail: [email protected] 
> 


Re: [qmailtoaster] qmail using ramdisk

2024-06-06 Thread William Silverstein
I didn't think about the qmail log files, which would be good.

Where is qmail-queue? What is that? Do you mean /var/qmail/queue? I don't
want to risk mail being lost if the system was unexpectedly shutdown.





On Thu, June 6, 2024 5:39 am, Jeff Koch wrote:
> We've used ramdisks to hold the qmail-queue and it did make a big
> difference in speed. Depending on the size of ram disk you could also
> consider including /var/log/qmail which also uses a lot of IO.  Although
> we backed up the ram disk before planned reboots we weren't particularly
> concerned if those two directories were accidentally wiped.
>
> Jeff
>
> On 6/6/2024 3:28 AM, William Silverstein wrote:
>> I wondered if using a RAM disk (maybe 32 GB) in Qmail would speed up
>> processing, i.e., handling scanning (using qmail-scanner)?
>>
>> Is this a crazy idea?
>>
>>
>>
>


-- 
William G. Silverstein, Esq.
Litigation Counsel
Licensed in California.




-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [qmailtoaster] qmail using ramdisk

2024-06-06 Thread William Silverstein
What would be a good size?

On Thu, June 6, 2024 3:50 am, Eric Broch wrote:
> It should. Do you need 32 GB?
>
> On 6/6/2024 1:28 AM, William Silverstein wrote:
>> I wondered if using a RAM disk (maybe 32 GB) in Qmail would speed up
>> processing, i.e., handling scanning (using qmail-scanner)?
>>
>> Is this a crazy idea?
>>
>>
>>
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
William G. Silverstein, Esq.
Litigation Counsel
Licensed in California.




-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [qmailtoaster] qmail using ramdisk

2024-06-06 Thread Jeff Koch
We've used ramdisks to hold the qmail-queue and it did make a big 
difference in speed. Depending on the size of ram disk you could also 
consider including /var/log/qmail which also uses a lot of IO.  Although 
we backed up the ram disk before planned reboots we weren't particularly 
concerned if those two directories were accidentally wiped.


Jeff

On 6/6/2024 3:28 AM, William Silverstein wrote:

I wondered if using a RAM disk (maybe 32 GB) in Qmail would speed up
processing, i.e., handling scanning (using qmail-scanner)?

Is this a crazy idea?





Re: [qmailtoaster] qmail using ramdisk

2024-06-06 Thread Eric Broch

It should. Do you need 32 GB?

On 6/6/2024 1:28 AM, William Silverstein wrote:

I wondered if using a RAM disk (maybe 32 GB) in Qmail would speed up
processing, i.e., handling scanning (using qmail-scanner)?

Is this a crazy idea?





-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]