Re: Utilisation of free memory as disc cache: tweaking is required?

2006-02-20 Thread Antonios Anastasiadis
if it's unacceptable to you, either don't use openbsd or submit a patch.

Re: Utilisation of free memory as disc cache: tweaking is required?

2006-02-20 Thread Hannah Schroeter
Hello! On Mon, Feb 20, 2006 at 01:17:05PM +, Constantine A. Murenin wrote: [...] Yes, there is always some compromise. But in this specific case we have much less than even a fifth of memory actually being used for programmes and kernel etc. Some of the rest is used for cache, but it still

Re: Utilisation of free memory as disc cache: tweaking is required?

2006-02-20 Thread Stuart Henderson
On 2006/02/20 13:17, Constantine A. Murenin wrote: And 512MB, I must add, is the de facto minimum today for any machine, For Windows PCs, maybe... Of the machines I have running OpenBSD, 64MB is the most common RAM size, and those boxes are doing useful work. making this even lack of tune-up

Re: Utilisation of free memory as disc cache: tweaking is required?

2006-02-20 Thread Shane J Pearson
Hi Hannah, On 2006.02.20, at 11:21 PM, Hannah Schroeter wrote: Just one effect you have to care for, on Linux (which *has* a unified VM/buffer cache system) we mkdir many directories (e.g. hashed buckets like squid uses them, just a few more, 256 * 256, to be precise). It was quite long

Re: Utilisation of free memory as disc cache: tweaking is required?

2006-02-20 Thread Constantine A. Murenin
On 20/02/06, Hannah Schroeter [EMAIL PROTECTED] wrote: Hello! On Mon, Feb 20, 2006 at 01:17:05PM +, Constantine A. Murenin wrote: [...] Yes, there is always some compromise. But in this specific case we have much less than even a fifth of memory actually being used for programmes and

Re: Utilisation of free memory as disc cache: tweaking is required?

2006-02-20 Thread Constantine A. Murenin
On 20/02/06, Stuart Henderson [EMAIL PROTECTED] wrote: On 2006/02/20 13:17, Constantine A. Murenin wrote: And 512MB, I must add, is the de facto minimum today for any machine, For Windows PCs, maybe... Of the machines I have running OpenBSD, 64MB is the most common RAM size, and those boxes

Re: Utilisation of free memory as disc cache: tweaking is required?

2006-02-20 Thread Hannah Schroeter
Hello! On Mon, Feb 20, 2006 at 02:49:01PM +, Constantine A. Murenin wrote: [...] If this is a common state of affairs, you can always raise the percentage of memory used for the buffer cache in the kernel, using config -e: config -e -o /bsd.new /bsd then the command cachepct

Re: Utilisation of free memory as disc cache: tweaking is required?

2006-02-20 Thread Nick Holland
On Mon, Feb 20, 2006 at 02:49:01PM +, Constantine A. Murenin wrote: ... Although the documentation says that it defaults to 5%, it actually seems to default to 10% on amd64, alpha, hppa and hppa64. Why it's not made to default to 10% on i386 too if enough memory is available? because

Re: Utilisation of free memory as disc cache: tweaking is required?

2006-02-20 Thread Constantine A. Murenin
On 20/02/06, Hannah Schroeter [EMAIL PROTECTED] wrote: Hello! On Mon, Feb 20, 2006 at 02:49:01PM +, Constantine A. Murenin wrote: [...] If this is a common state of affairs, you can always raise the percentage of memory used for the buffer cache in the kernel, using config -e:

Utilisation of free memory as disc cache: tweaking is required?

2006-02-18 Thread Constantine A. Murenin
Hello, I have a box with 512MB of RAM, which is running a snapshot from 2006-02-13. The box does not get used much, so most of the RAM stays still, i.e. not used by the userland. I am now quite surprised why OpenBSD does not use all of this RAM for disc cache etc. After rebooting the system,