Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EHCP Performace
#1
Just out of curiosity on a vps 1 gb ram and 100 gb hd and clients all using Apache, PHP, Bind, Postpix blah blah blah with:

10GB space.
25 POP/IMAP email accounts.
25 FTP accounts.
25GB of bandwidth/month.
Unlimited Ezmlm mailing lists.
25 MySQL databases.
25 subdomains.

to its full limits, how many clients will the server handle? the vps.

I understand a few people including yourself is using EHCP in production what is performance like under load? Lets say to host 100 and/or 1000 clients; with the above requirements what server specs would i require? Is EHCP up to the task?

Can you have different, app, db, ns and file servers? under one roof?

p.s. ehcp is by far the most simple, object orientated panel on the web, looking forward for the future.

thx, Hasan

Restored from old drupal forum, for user uid:2207 username:hasakanyol
You may reset your password to access your new account here.
Reply
#2
The performance of any server (not only ehcp) is very closely related to software/pages/applications you have in your site..
if you have for example an heavy social network site, your site may be limited to 100 users in 20 second.

So, i assume you have:
1- A server with 1G ram, hdd size is up to you, a good latest cpu with 2 Cores,
2- 100 domains,
3- installed normal, moderate resource consuming programs/scripts inside domains, such as forum, cms and so on..
4- installed ehcp, (or apache, php, mysql, ftp, bind, individually, almost no speed change if you install ehcp or all them individually)

With such configuration, i think you can serve at least 20 people instaltly (i mean in 1 sec), 100 people in 20 sec.
That means you will be able to server 300 people in 1 min, 300*60 people in 1 hour and so on, average. Dont think this is a low number. Access to websites in your server is spread to time..

Number of clients that can be served is a relative number with respect to time, people usually confused about this.. They say, "i should be able to server 100 or 1000 clients instantly". This is an abstract number/goal. For example, if you could be able to server 1000 clients almost instantly (in 1 sec), then your site would serve 60.000 client in 1 min ! This is really huge, and a big server is needed for this.

The article at http://www.ehcp.net/?q=node/243 also discusses this, although in Turkish, i think it may be useful if you are able to understand it using google translate...

I know there are many people that hosts tens of domains using ehcp, i know a few hosting approx 100 domains, one person hosting 270 domains, all in one server with features like above, with ehcp.. One institution uses ehcp to dns-host only 360.000 domains. They use ehcp for only for dns hosting, that is, only dns/bind/named is used....

ehcp does not fully support multi server yet, automatically, centrally managed...
You can only manage separate mysql server, as of now in one central ehcp..
With semi-automatic usage, you can use separate dns server, and separate web/app server.. We will try to implement multi-server concept in future, in same way as ehcp philosophy, being easy, fast, low resource consuming.. We can work on this with you, if you wish...





Restored from old drupal forum, for user uid:2207 username:hasakanyol
You may reset your password to access your new account here.
Reply
#3
You made me curious, so here are my results:
Processors 1
Model AMD Athlon™ XP 1800+
CPU Speed 1.5 GHz
Cache Size 256 KB
System Bogomips 3008.24
768MB RAM

# ab -n 1000 -c 10 http://www.xxx.com/ (a wordpress site; php, mysql, no caching)
Document Length: 7298 bytes

Concurrency Level: 10
Time taken for tests: 278.599696 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 7570000 bytes
HTML transferred: 7298000 bytes
Requests per second: 3.59 [#/sec] (mean)
Time per request: 2785.997 [ms] (mean)
Time per request: 278.600 [ms] (mean, across all concurrent requests)
Transfer rate: 26.53 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 5 13 7.9 12 55
Processing: 2491 2770 53.5 2772 3144
Waiting: 2485 2756 53.9 2759 3141
Total: 2503 2784 54.8 2786 3161

Percentage of the requests served within a certain time (ms)
50% 2786
66% 2796
75% 2804
80% 2810
90% 2828
95% 2850
98% 2925
99% 2951
100% 3161 (longest request)

Conclusion: About 220 connections / minute on a slow server, using php and mysql. Pages served in under 3 seconds. I could probably get to about 60.000 visitors/day on this server without problems. You can probably go to about 500 connections/minute on a fast server with pages served under 2 seconds.
I'll try on my test vps later to see what results I get.

Later edit: With plain html files I get about 5000 connections/minute and the files are served in under 130ms on the same server.

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#4
can you please explain, how did you do this test,
that is, what is command: ab -n 1000 -c 10 http://www.xxx.com/ ?
i didnt know ab before ? thanks. and very good info...

Restored from old drupal forum, for user uid:700 username:deconectat
You may reset your password to access your new account here.
Reply
#5
http://www.macgeekery.com/tips/troubleshooting/stress-test_apache_with_ab
http://www.sephiroth.it/weblog/archives/2006/05/stress_test_with_apache_ab.php

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#6
if anybody compares ehcp with other control panels in performace, please write here..
i only remember a friend that said: many other control panels takes/fills %60 memory of a 1G server, while ehcp fills only %30 memory, when loaded...

Restored from old drupal forum, for user uid:700 username:deconectat
You may reset your password to access your new account here.
Reply
#7
CPU number: 1
model name : Intel® Pentium® 4 CPU 3.00GHz
cpu MHz : 2989.703
cache size : 1024 KB
--------------------------------------------------------------------------
Memory: used free (MB)
67 435

On a virtual server under VirtualBox I get 30.000 connections/minute for plain html files and the files are served under 400ms. The strange thing is that apache can handle only about 150 requests / minute on wordpress pages, but remember this is an image based virtual machine and that it wasn't tuned for performance.

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#8
This is also useful:
http://www.ehcp.net/?q=node/639

Restored from old drupal forum, for user uid:700 username:deconectat
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping