Re: Performance issues on WRAP
"James L. Lauser" <[email protected]>
| Newsgroups | gmane.comp.security.firewalls.m0n0wall |
|---|---|
| Message-ID | <CANESA-+A60Dg4Vgv0G=RD-H9V+gGRUdZL2bxTNzi5NYstp9Rwg@mail.gmail.com> |
Even the "high end" WRAP devices don't have very fast CPUs. What's likely
happening when you're pushing that much bandwidth is that your device is
spending all of its CPU time handling interrupts that are coming from the
network interfaces. You can alleviate some of this CPU load by switching
your interfaces over to "polling" mode. You can do this on the Advanced tab
of the interface. Note that interface polling will slightly increase
latency.
-- James L. Lauser
[email protected]
http://jlauser.net/
On Sat, Apr 21, 2012 at 23:08, Stefan Ott <[email protected]> wrote:
> Hey
>
> I recently noticed a strange behaviour with m0n0wall 1.33 running on a
> PC Engines WRAP. It seems that whenever the network throughput (tried
> with http and ftp) gets close to my connection's maximum (which is
> around 25 Mbps) the system becomes extremely unresponsive and won't do
> anything else anymore - DNS lookups fail and even wifi connections get
> terminated. A quick look at the CPU load graph shows that it's very
> close to 100%.
>
> Now, I realize that maxing out my connection will have some negative
> impact on additional data traffic, but using my whole CPU for a little
> bit of packet forwarding seems slightly excessive. Thus I was
> wondering whether anyone might have an idea about what I can do to
> figure out what exactly generates all that CPU load and how to fix it.
>
> Any advice would be highly appreciated.
>
> cheers
> --
> Stefan Ott
> http://www.ott.net/
>
> "You are not Grey Squirrel?"
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>