Networking Forums

Networking Forums > Computer Networking > Broadband > firewall with low-end cpu (K5-75) and USB modem

Reply
Thread Tools Display Modes

firewall with low-end cpu (K5-75) and USB modem

 
 
robert w hall
Guest
Posts: n/a

 
      09-10-2003, 06:19 PM
As some of you may recollect, I queried whether I'd be in trouble trying
to run Smoothwall on a K5-75 with the dreaded alcatel 330 USB modem.

Well the box is currently forwarding 30+ Mb of the latest linux kernel
(2.6.0 test5) to a win2k box at a reported 56kB/s- 'top' shows the K5
running about 75% idle with the remaining time split roughly equally
between user (snort?) and system

Looks like I didn't need to worry

Bob

--
robert w hall
 
Reply With Quote
 
 
 
 
Chris Croughton
Guest
Posts: n/a

 
      09-10-2003, 07:52 PM
On Wed, 10 Sep 2003 19:19:25 +0100, robert w hall
<(E-Mail Removed)> wrote:

>As some of you may recollect, I queried whether I'd be in trouble trying
>to run Smoothwall on a K5-75 with the dreaded alcatel 330 USB modem.
>
>Well the box is currently forwarding 30+ Mb of the latest linux kernel
>(2.6.0 test5) to a win2k box at a reported 56kB/s- 'top' shows the K5
>running about 75% idle with the remaining time split roughly equally
>between user (snort?) and system


Nice stats, thanks for posting them.

>Looks like I didn't need to worry


Yup. Out of interest, do you have the web cache enabled on the
firewall?

Chris C
 
Reply With Quote
 
robert w hall
Guest
Posts: n/a

 
      09-10-2003, 10:35 PM
In article <(E-Mail Removed)>, Chris Croughton
<(E-Mail Removed)> writes
>Nice stats, thanks for posting them.

thanks
Incidentally, in view of the similar thread on u.c.o.l ('is a P120 good
enough'), it's worth noting that RAM appears to be a tighter resource.
I've got 16MB of RAM, mostly used; when the system is going full tilt
it's also using 5MB of the 16MB of swap. Snort alone takes 10MB (and
most of the 'user node' cpu).
>
>>Looks like I didn't need to worry

>
>Yup. Out of interest, do you have the web cache enabled on the
>firewall?


I took the defaults - (4MBmax cache non-transparent ?) - but that
wouldn't affect these results, for a large (30MB+) one-off download??
>
>Chris C


--
robert w hall
 
Reply With Quote
 
Chris Croughton
Guest
Posts: n/a

 
      09-11-2003, 06:13 AM
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
>>Nice stats, thanks for posting them.

>thanks
>Incidentally, in view of the similar thread on u.c.o.l ('is a P120 good
>enough'), it's worth noting that RAM appears to be a tighter resource.
>I've got 16MB of RAM, mostly used; when the system is going full tilt
>it's also using 5MB of the 16MB of swap. Snort alone takes 10MB (and
>most of the 'user node' cpu).


AFAIK Snort can't be resource limited.

>>Yup. Out of interest, do you have the web cache enabled on the
>>firewall?

>
>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).
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).

Chris C
 
Reply With Quote
 
robert w hall
Guest
Posts: n/a

 
      09-11-2003, 07:11 AM
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)
>
>>>Yup. Out of interest, do you have the web cache enabled on the
>>>firewall?

>>
>>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...)

>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),

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)

Anyway, the installed swap is done automatically by Smoothwall/IPCOP on
installation.

Bob

>Chris C


--
robert w hall
 
Reply With Quote
 
Chris Croughton
Guest
Posts: n/a

 
      09-11-2003, 08:45 AM
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best modem/router/firewall (oh no, not again!) Nigel M Broadband 10 03-11-2005 03:58 PM
Which ADSL firewall wired modem? Tim \(Remove NOSPAM. Home Networking 5 12-11-2004 09:32 AM
ADSL modem/router firewall skip Linux Networking 0 07-24-2004 01:39 AM
DSL Modem/Router/Firewall paulm844 Broadband 8 04-22-2004 09:46 PM
cpu to run usb adsl modem on dedicated firewall robert w hall Broadband 9 08-13-2003 08:00 AM



1 2 3 4 5 6 7 8 9 10 11