Re: firewall is very slow, something's wrong

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul de Weerd
Date: Wednesday, October 10, 2007 - 7:41 am

On Wed, Oct 10, 2007 at 09:24:25AM -0500, Robert C Wittig wrote:
| Siju George wrote:
|
| >I thought by running an amd64 kernel will get me twice the speed than
| >an i386 on an amd64 machine since one is 64 bit processing and the
| >other is just 32 bit :-(
| >
|
| 64 bit processors (combined with 64 bit capable operating systems) have
| the ability to address more RAM than 32 bit processors because 64^2 is a
| much larger number than 32^2... lots more RAM addresses).
|
| This does not speed things up, though, until you run out of RAM, and
| start having to access the swapfile.
|
| The processor's speed... MHz, GHz, etc., will determine how fast the
| processor itself can process instructions.

Depending on your software, 64 bit processors can be quite a bit
faster. If you're dealing with 64bit integers, using 64bit registers,
etc., a lower clocked 64bit CPU might be faster than a 32bit CPU
clocking at a higher rate. In short: There is no short answer. It
depends on what you're doing.

From what Henning tells us (and what sounds logical to me), grabbing a
ethernet frame from a NIC and putting it on another NIC doesn't really
change much from 32bit to 64bit.

Your compiler also comes into play. If that is more tuned towards a
certain 32bit architecture (such as i386) than a certain 64bit arch
(because it's less populair, such as sparc64 or hppa64 or mips64),
this will impact your performance quite a bit.

Cheers,

Paul 'WEiRD' de Weerd

--
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/

[demime 1.01d removed an attachment of type application/pgp-signature]
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
firewall is very slow, something's wrong, Florin Andrei, (Thu Oct 4, 5:48 pm)
Re: firewall is very slow, something's wrong, Stuart Henderson, (Fri Oct 5, 1:31 am)
Re: firewall is very slow, something's wrong, Claudio Jeker, (Sun Oct 7, 12:15 pm)
Re: firewall is very slow, something's wrong, Florin Andrei, (Mon Oct 8, 10:41 am)
Re: firewall is very slow, something's wrong, Florin Andrei, (Mon Oct 8, 10:59 am)
Re: firewall is very slow, something's wrong, knitti, (Mon Oct 8, 1:49 pm)
Re: firewall is very slow, something's wrong, Florin Andrei, (Mon Oct 8, 5:28 pm)
Re: firewall is very slow, something's wrong, Karsten McMinn, (Mon Oct 8, 6:05 pm)
Re: firewall is very slow, something's wrong, Henning Brauer, (Tue Oct 9, 4:32 am)
Re: firewall is very slow, something's wrong, Florin Andrei, (Tue Oct 9, 9:07 am)
Re: firewall is very slow, something's wrong, Florin Andrei, (Tue Oct 9, 9:27 am)
Re: firewall is very slow, something's wrong, Henning Brauer, (Tue Oct 9, 11:03 am)
Re: firewall is very slow, something's wrong, Florin Andrei, (Tue Oct 9, 1:49 pm)
Re: firewall is very slow, something's wrong, Henning Brauer, (Wed Oct 10, 12:35 am)
Re: firewall is very slow, something's wrong, Siju George, (Wed Oct 10, 6:04 am)
Re: firewall is very slow, something's wrong, Henning Brauer, (Wed Oct 10, 6:15 am)
Re: firewall is very slow, something's wrong, Peter N. M. Hansteen, (Wed Oct 10, 6:35 am)
Re: firewall is very slow, something's wrong, Scott Wells, (Wed Oct 10, 7:01 am)
Re: firewall is very slow, something's wrong, Robert C Wittig, (Wed Oct 10, 7:24 am)
Re: firewall is very slow, something's wrong, Paul de Weerd, (Wed Oct 10, 7:41 am)
Re: firewall is very slow, something's wrong, Jon Radel, (Wed Oct 10, 7:47 am)
Re: firewall is very slow, something's wrong, Tony Abernethy, (Wed Oct 10, 7:59 am)
Re: firewall is very slow, something's wrong, Siju George, (Wed Oct 10, 8:23 am)
Re: firewall is very slow, something's wrong, Tony Abernethy, (Wed Oct 10, 9:20 am)
Re: firewall is very slow, something's wrong, Stuart Henderson, (Wed Oct 10, 10:04 am)
Re: firewall is very slow, something's wrong, Robert C Wittig, (Wed Oct 10, 10:34 am)
Re: firewall is very slow, something's wrong, Ted Unangst, (Wed Oct 10, 11:54 am)
Re: firewall is very slow, something's wrong, Paul de Weerd, (Wed Oct 10, 12:01 pm)
Re: firewall is very slow, something's wrong, Henning Brauer, (Wed Oct 10, 1:20 pm)
Re: [side thread] security implcations of multiple kernel ..., Douglas A. Tutty, (Wed Oct 10, 3:25 pm)
SOLVED [was: firewall is very slow, something's wrong], Florin Andrei, (Tue Oct 16, 2:57 pm)
Re: SOLVED [was: firewall is very slow, something's wrong], Stuart Henderson, (Tue Oct 16, 3:44 pm)
Re: SOLVED [was: firewall is very slow, something's wrong], Henning Brauer, (Wed Oct 17, 1:38 am)