Static Web Content test

A simple scalability test of an Apache Web server, serving static files.

The aim was to establish the behaviour of a simple Web server (like the one used by the gldiein factory) under heavy stress.

Test setup

Server:

  • 2 x Dual Core AMD Opteron(tm) Processor 275
  • 8GB RAM
  • Gigabit Etherent LAN
  • Using Apache 2.2.3 on CentOS? 5.5

Clients:

  • CMS T2 worker nodes @UCSD
  • Accessed via the Grid using the glideTester
  • Using wget for download

Transferring a small file

For this test, a small file of about 1k was being accessed by the clients.

The Web server held very well with about 400Hz to about 1k concurrent clients.After that clients startto see problems.

ConcurrencySorted ascending Success Failure Stuck clients
10 569k (237Hz) 0 0
50 720k (300Hz) 0 0
100 1039k (433Hz) 0 0
150 1028k (428Hz) 0 0
200 940k (392Hz) 0 0
300 1049k (437Hz) 0 0
400 1072k (447Hz) 0 0
600 1107k (461Hz) 0 0
800 1161k (484Hz) 0 0
1000 1205k (502Hz) 0 119
1500 671k (280Hz) 19 1251
2000 706k (294Hz) 0 1849

The load on the server is minimal, and the network is underutilized at about 6Mbits/s.

  • http_1k_cpu.png
  • http_1k_net.png

Transferring a larger file

For this test, a larger file, of about 10M was being accessed by the clients.

The Web server held very well with about 10Hz to all the way to the max 1k concurrent clients tested.

Concurrency Success Failure Stuck clients
10 25k (10Hz) 0 0
50 25k (11Hz) 0 0
100 25k (11Hz) 0 0
150 25k (11Hz) 0 0
200 26k (11Hz) 0 0
300 25k (11Hz) 0 0
400 26k (11Hz) 0 0
600 26k (11Hz) 0 0
800 26k (11Hz) 1 (0Hz) 0
1000 27k (11Hz) 0 0

This time, the load on the server was higher, but still only using about half of one core. The network was also much more used, but still underutilized at about 70Mbits/s.

  • http_10M_cpu.png
  • http_10M_net.png

-- IgorSfiligoi - 2011/04/05

Topic attachments
I Attachment Action Size Date Who Comment
pngpng http_10M_cpu.png manage 30.7 K 2011/04/05 - 18:13 IgorSfiligoi CPU usage for 10M files
pngpng http_10M_net.png manage 27.9 K 2011/04/05 - 18:13 IgorSfiligoi Network usage for 10M files
pngpng http_1k_cpu.png manage 21.6 K 2011/04/05 - 18:00 IgorSfiligoi CPU usage for 1k files
pngpng http_1k_net.png manage 28.6 K 2011/04/05 - 18:00 IgorSfiligoi Network usage for 1k files
Topic revision: r3 - 2011/04/05 - 18:15:54 - IgorSfiligoi
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback