Skip to search.
dansguardian · A public mailing list to discuss all aspects of DansGuardian

Group Information

  • Members: 2438
  • Category: Networking
  • Founded: Jan 14, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

  Messages Help
Advanced
Cluster anyone?   Message List  
Reply Message #7006 of 25489 |
Re: [dansguardian] Cluster anyone?

Hi all again :))

> I will take that into consideration. I will have to think about how web
> serving and proxying are alike and different.

Actually they are not very similar, but still LVS is better. I try to
explain myself:

* Open Mosix works well when it doesnd need a local, unique storage. In that
case, forking the process to a different computer is bad as you take the
process away from the data. In case of proxying this is NOT a problem as all
cache is valid, no matter where it is (be it the original or the forked CPU).
So it might seem OM is OK for this.

* BUT, in OM you imposse a load managing the processes. The processes move
around based on which CPU has some spare power. This adds some latency
(process jumping, management, algorithms) and consumes CPU by itself.
Instead, with LVS you have a defined number of processes in a cluster of
CPUs, and the LVS daemon just keeps sending data to each one of them, it
doesnt FORK a process (that by itself consumes CPU) but sends data to a
different daemon. If you consider the same number of DG processes in all CPUs
in both cases, LVS is much lighter to the system as it doesnt need to fork,
nor control where a process is, or if it needs to come back or jump again.

* Actually I think DG by itself is a good analogy. As you probably know, DG
usually worked creating a set of processes and as was needed, forking new
ones. This was very heavy on CPU with high loads. In recent releases you have
the choice of preforking a big number of processes and just send them data.
This might consume more CPU in low stress situations, but sure as heck is
better when things starts to climb. Some people report more than a 50%
reduction in CPU usage !!! With OM and LVS you have more or less the same
concept. Wuawww, that was a good analogy !! I clap myself :)))

So in essence, the apache analogy was not a good one, but still, IMHO, LVS
is less stressfull for a cluster. But heck, if you want to try, I can even
give you David's email and you can comment the results to himself :)

Hope this one definetly helps :)

--
Jaime Nebrera - jnebrera@...




Mon Jan 12, 2004 6:35 pm

jnebrera@...
Send Email Send Email

Message #7006 of 25489 |
Expand Messages Author Sort by Date

Hi, Long time no post. Has anyone been able to use a cluster (not layer 4 switching) to give more speed and redundancy to DG? Look at www.offmyserver.com,...
Matt Chapman
chapmam2 Offline Send Email
Jan 12, 2004
3:29 pm

Matt, I have not tried this yet, but I have considered testing a cluster using openMosix: http://openmosix.sourceforge.net/. Regards, Chris...
Chris Dunbar
chris@... Send Email
Jan 12, 2004
3:49 pm

Ok, So reading a little of that page, can we have one machine that has the config , have our users point to the one machine and the other boxes running...
Matt Chapman
chapmam2 Offline Send Email
Jan 12, 2004
3:56 pm

I have no idea. That's why I wanted to experiment with it. :) I would think/guess/hope that there may be one IP for the cluster and you could point your...
Chris Dunbar
chris@... Send Email
Jan 12, 2004
4:17 pm

Hi Chriss, ... I dont think Open Mosix is the best option for a DG cluster. IMHO, you have two choices: * Linux Virtual Server, more or less the same idea of...
Jaime Nebrera Herrera
jnebrera@... Send Email
Jan 12, 2004
4:35 pm

Jaime, Can you elaborate on why you think openMosix is not well suited? I'm just curious froma technical standpoint. Thanks, Chris...
Chris Dunbar
chris@... Send Email
Jan 12, 2004
4:49 pm

Hi Chris, ... Well, I'm not saying is not well suited, its just that IMHO LVS fits better this need. I met personally one of the developers of OpenMosix (David...
Jaime Nebrera Herrera
jnebrera@... Send Email
Jan 12, 2004
5:16 pm

I will take that into consideration. I will have to think about how web serving and proxying are alike and different. Thanks, Chris...
Chris Dunbar
chris@... Send Email
Jan 12, 2004
6:03 pm

Hi all again :)) ... Actually they are not very similar, but still LVS is better. I try to explain myself: * Open Mosix works well when it doesnd need a local,...
Jaime Nebrera Herrera
jnebrera@... Send Email
Jan 12, 2004
6:35 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help