Re: macosx 1 process, linux N processes, macosx chokes under load

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36806
interpreted = N
texte = Dale LaFountain wrote: > > I have been doing extensive performance testing to find the fastest > hardware/software combination to run our websites. In my testing, I > found that for single executions, MacOSX executes webcat code about > 33% faster than a similar Linux box (P3-550 dual). > > However, when I execute any number of simultaneous requests using a > performance tool like Netsplat, MacOSX quickly grinds to a halt while > Linux keeps up rather well. > > Upon further inspection, it appears that Linux webcat starts 4 > processes on launch, and then spawns additional child processes for > every simultanous request. The OSX version runs ALL requests through > a single process, which is apparently a huge bottleneck. FYI, Mac OS X does spwan threads to handle request, it is just in different way. Use command top during your test you can see number of threads that spawned by WebCatalog After WebCatalog is launched on Mac OS X, using top command you will see there are three threads attached with WebCatalog process Linux shows 4 processes. These are include 1 for main WebCatalog process and the remain three are spawned threads > > Why is webcat set up this way on OSX, and can it be fixed to act more > like Linux? WebCat itself is using the same method of spwaning threads to handle requests. But POSIX thread package is implemented different on Linux and Mac OSX. And it is the part of kernel, we could not do any thing to force both OS act as the same way. > > Also, the 10.0.4 update to OSXS 2.0 resulted in a 50% improvement in > webcat performance in cpu-intensive calculations. However, it's > still an order of magnitude slower than Linux when under a heavy load > (134 seconds vs 18 seconds). We are experience the same result here. WebCat/Linux always runs faster the WebCat/Mac OS X Server/Client I think it is OS dependent> > I am trying to purchase hardware in the next week to solve our > performance issues, and this is a deciding factor in which platform > we will choose. > > Has anyone running OSX client or server 2.0 noticed these bottlenecks? > > Thanks, > > Dale > -- > > Dale LaFountain > Vice President of Information Technology, WebMaster > Dark Horse Comics, Inc. mailto:dalel@darkhorse.com > Phone: 503-652-8815 x324 http://www.darkhorse.com/ > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: macosx 1 process, linux N processes, macosx chokes under load (Aaron Lynch 2001)
  2. Re: macosx 1 process, linux N processes, macosx chokes under load (Dale LaFountain 2001)
  3. Re: macosx 1 process, linux N processes, macosx chokes under load (Alain Russell 2001)
  4. Re: macosx 1 process, linux N processes, macosx chokes under load (Aaron Lynch 2001)
  5. Re: macosx 1 process, linux N processes, macosx chokes under load (Dale LaFountain 2001)
  6. Re: macosx 1 process, linux N processes, macosx chokes under load (Aaron Lynch 2001)
  7. Re: macosx 1 process, linux N processes, macosx chokes under load (Alain Russell 2001)
  8. Re: macosx 1 process, linux N processes, macosx chokes under load (Dale LaFountain 2001)
  9. Re: macosx 1 process, linux N processes, macosx chokes under load (Le Pham 2001)
  10. macosx 1 process, linux N processes, macosx chokes under load (Dale LaFountain 2001)
Dale LaFountain wrote: > > I have been doing extensive performance testing to find the fastest > hardware/software combination to run our websites. In my testing, I > found that for single executions, MacOSX executes webcat code about > 33% faster than a similar Linux box (P3-550 dual). > > However, when I execute any number of simultaneous requests using a > performance tool like Netsplat, MacOSX quickly grinds to a halt while > Linux keeps up rather well. > > Upon further inspection, it appears that Linux webcat starts 4 > processes on launch, and then spawns additional child processes for > every simultanous request. The OSX version runs ALL requests through > a single process, which is apparently a huge bottleneck. FYI, Mac OS X does spwan threads to handle request, it is just in different way. Use command top during your test you can see number of threads that spawned by WebCatalog After WebCatalog is launched on Mac OS X, using top command you will see there are three threads attached with WebCatalog process Linux shows 4 processes. These are include 1 for main WebCatalog process and the remain three are spawned threads > > Why is webcat set up this way on OSX, and can it be fixed to act more > like Linux? WebCat itself is using the same method of spwaning threads to handle requests. But POSIX thread package is implemented different on Linux and Mac OSX. And it is the part of kernel, we could not do any thing to force both OS act as the same way. > > Also, the 10.0.4 update to OSXS 2.0 resulted in a 50% improvement in > webcat performance in cpu-intensive calculations. However, it's > still an order of magnitude slower than Linux when under a heavy load > (134 seconds vs 18 seconds). We are experience the same result here. WebCat/Linux always runs faster the WebCat/Mac OS X Server/Client I think it is OS dependent> > I am trying to purchase hardware in the next week to solve our > performance issues, and this is a deciding factor in which platform > we will choose. > > Has anyone running OSX client or server 2.0 noticed these bottlenecks? > > Thanks, > > Dale > -- > > Dale LaFountain > Vice President of Information Technology, WebMaster > Dark Horse Comics, Inc. mailto:dalel@darkhorse.com > Phone: 503-652-8815 x324 http://www.darkhorse.com/ > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Le Pham

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Generating unique SKU from [cart] - Still Stumped... (1997) Re:Searching for ALL / empty form field (1997) WC2.0 Memory Requirements (1997) Sort on time (2003) How to include weather (2000) Searching multiple fields from one form field (1997) WC2b15 File Corruption (1997) Still Stumped on ShowNext...HELP! (1997) Include a big block of text (1997) WebCat2: multiple currency support (1997) Email Send Delay (2004) WebCat editing, SiteGuard & SiteEdit (1997) emailer (1997) WebCatalog/WebMerchant 2.1 (1998) Help name our technology! I found it (1997) Security Hole - NetCloak Update (1998) calculating time (2002) REPLACE problem (2000) Uh...can someone help me out with the b10? (1997) Running 2 two WebCatalog.acgi's (1996)