On Thu, 11 Sep 2003 08:11:38 +0100, robert w hall
<(E-Mail Removed)> wrote:
>In article <(E-Mail Removed)>, Chris Croughton
><(E-Mail Removed)> writes
>>On Wed, 10 Sep 2003 23:35:36 +0100, robert w hall
>> <(E-Mail Removed)> wrote:
>>
>>>In article <(E-Mail Removed)>, Chris Croughton
>>><(E-Mail Removed)> writes
>>AFAIK Snort can't be resource limited.
>hmm...
>(well I can't pretend to understand snort)
Nor do I <g>. Hence 'AFAIK' (and if anyone does know how to 'tune' it
so that it uses less resource I'd like to know).
>>>I took the defaults - (4MBmax cache non-transparent ?) - but that
>>>wouldn't affect these results, for a large (30MB+) one-off download??
>>
>>It may be using RAM and causing it to swap more (alternatively, if it's
>>there but not doing anything then /it/ may be what's in the swap area).
>
> no, it's there taking significant cpu on the beefy downloads
>(but yes, I must look at the swapping frequency...)
Yup. And whether it's actually worth running it if most of what you are
downloading is only done once. Especially since the amount you're
fetching is way over the cache size, so it just gets wiped again.
>>Incidentally, conventional advice is that the swap should be twice the
>>size of the physical RAM (no, I don't understand it either, but
>>allegedly some kernels had problems if it was smaller than that).
>>
>This is an old chestnut of course :-)
>(especially during the early days of 2.4 when the memory model was
>changing every few releases)
>Remember that Smoothwall 1.0.0 is using a late 2.2 kernel (2.2.25),
Ah, I haven't looked at it for ages, I expected it woud be using a 2.4
kernel by now (mind you, my main machines are using 2.2.19pre17 with
custom modules).
>IPCOP1.3 (which I've got on the other drive) uses kernel 2.4.20 (IIRC)
>and DOES require swap=2*memory+
>(I dimly recollect that the swap>=2*memory rule was only mandatory for
>the early 2.4 series)
Could be, I lost track of when it had been fixed.
>Anyway, the installed swap is done automatically by Smoothwall/IPCOP on
>installation.
Ah, right, they should know. It's still good to check, though...
Chris C
|