s@lists.squid-cache.org
> Subject: Re: [squid-users] Squid SSL db on ramdisk
>
> Yes, confirmed.
>
> When I've replaced int m; and int d; to long m; and long d; - works like
> charm.
>
>
> 11.02.2018 01:08, Yuri пишет:
>> int m; declaration inside static bool pa
, February 10, 2018 10:57 PM
To: Alex Rousskov ;
squid-users@lists.squid-cache.org
Subject: Re: [squid-users] Squid SSL db on ramdisk
Yes, confirmed.
When I've replaced int m; and int d; to long m; and long d; - works like charm.
11.02.2018 01:08, Yuri пишет:
> int m; declaration inside sta
Yes, confirmed.
When I've replaced int m; and int d; to long m; and long d; - works like
charm.
11.02.2018 01:08, Yuri пишет:
> int m; declaration inside static bool parseBytesOptionValue(size_t *
> bptr, char const * value) ?
>
> If I set it long, as by as int d, seems ok.
>
>
> 11.02.2018 01:0
int m; declaration inside static bool parseBytesOptionValue(size_t *
bptr, char const * value) ?
If I set it long, as by as int d, seems ok.
11.02.2018 01:04, Alex Rousskov пишет:
> On 02/10/2018 12:02 PM, Yuri wrote:
>>
>> 11.02.2018 00:59, Alex Rousskov пишет:
>>> On 02/10/2018 10:03 AM, Yuri
On 02/10/2018 12:02 PM, Yuri wrote:
>
>
> 11.02.2018 00:59, Alex Rousskov пишет:
>> On 02/10/2018 10:03 AM, Yuri wrote:
>>
>>> What is correct syntax for -M option?
>> The correct syntax is, roughly,
>>
>> -M [bytes|KB|MB|GB]
> Exactly with space between integer and units?
Without anything be
11.02.2018 00:59, Alex Rousskov пишет:
> On 02/10/2018 10:03 AM, Yuri wrote:
>
>> What is correct syntax for -M option?
> The correct syntax is, roughly,
>
> -M [bytes|KB|MB|GB]
Exactly with space between integer and units?
>
> with "bytes" as the default unit.
>
> However, you found a bug in t
On 02/10/2018 10:03 AM, Yuri wrote:
> What is correct syntax for -M option?
The correct syntax is, roughly,
-M [bytes|KB|MB|GB]
with "bytes" as the default unit.
However, you found a bug in the parsing code: The helper mishandles
values exceeding 2147483647 bytes (on most platforms) due to a
One more question.
What is correct syntax for -M option? I'm just in doubt. Helper eats -M
5MB, but not -M 1024MB, however eats -M 1 GB.
root @ lemanruss /patch/tmp #
/usr/local/squid/libexec/security_file_certgen -s /ramdisk1/ssl_db -M 2GB
/usr/local/squid/libexec/security_file_certgen: Error wh
10.02.2018 22:36, Alex Rousskov пишет:
> On 02/10/2018 09:23 AM, Yuri wrote:
>
>> I can set -M in according FS size, using for store SSL DB, correct?
> Yes, -M limits the sum of sizes of all (serialized) certificates stored
> in the helper database. The helper tries to account for the filesystem
On 02/10/2018 09:23 AM, Yuri wrote:
> I can set -M in according FS size, using for store SSL DB, correct?
Yes, -M limits the sum of sizes of all (serialized) certificates stored
in the helper database. The helper tries to account for the filesystem
block size, but I doubt its calculations are ver
10.02.2018 22:18, Alex Rousskov пишет:
> On 02/10/2018 06:43 AM, Yuri wrote:
>
>> security_file_certgen uses memory cache to buffer slow
>> disk IO for certificates DB.
> It does not.
Ahhaaa, I just misunderstanding options
>
>
>> If we're put cert DB onto ramdisk (in fact,
>> in RAM)
On 02/10/2018 06:43 AM, Yuri wrote:
> security_file_certgen uses memory cache to buffer slow
> disk IO for certificates DB.
It does not.
> If we're put cert DB onto ramdisk (in fact,
> in RAM), so we're can easy reduce helper -M value.
security_file_certgen -M is the helper database size, not
10.02.2018 13:30, Amos Jeffries пишет:
> On 10/02/18 12:55, Yuri wrote:
>> Amos,
>>
>> how do you think - if I'll put SSL db (usually places in
>> /var/lib/ssl_db) on ramdisk, does this give some gain for bump performance?
>>
> I expect so, but do not use bumping myself so cannot say for certain.
On 10/02/18 12:55, Yuri wrote:
> Amos,
>
> how do you think - if I'll put SSL db (usually places in
> /var/lib/ssl_db) on ramdisk, does this give some gain for bump performance?
>
I expect so, but do not use bumping myself so cannot say for certain.
> How reasonable to do that?
>
> Also, I thi
Amos,
how do you think - if I'll put SSL db (usually places in
/var/lib/ssl_db) on ramdisk, does this give some gain for bump performance?
How reasonable to do that?
Also, I think, doing that, I can reduce in memory cache size for
security_file_certgen helper.
How do you think?
--
**
15 matches
Mail list logo