Michelle Konzack writes:
It is proxying all TCP traffic. Everything that gets sent and received by each storage server goes in and out of the proxy server. Every packet sent by the storage server gets received and resent by the proxy server. Every packet received by the storage server gets received and resent by the proxy server.Right, but how much CPU power does this need? It seems, that even the smallest Opteron would be overkill.
Some CPU is still required. Proxying is done in userspace. Each packet of data, after it's received, gets copied to a buffer in user process's space, because that's what's reading the socket. Then, the buffer gets written to the other socket.
There's a fair bit of copying going on, which would require some CPU. Not a lot, but as a number of connections goes up, you should see the CPU load creep up.
This is something that does not need a lot of raw CPU power, but could definitely take advantage of multithreading or multiple CPUs, to reduce the number of context switches.
Right, but does it make sense to put ten X4100 in parallel instead of using a singel machien with Dual 10 Gbit interfaces?
If one of those smaller machines takes a powder, you'll still be in business. If a single machine gives up its blue smoke, you're dead in the water.
Using a bigger machine with 10 GBit interfaces cost me 5200 Euro but then even here, the CPU would be definitivele idle, and how much memory does courier-imap-proxy eat?
It needs almost no memory. Once the connection gets established, all it's doing is copying data back and forth the two connections. That takes no memory at all.
pgpdfLsWMBw3u.pgp
Description: PGP signature
------------------------------------------------------------------------------
_______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users