LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-04-2003, 08:52 PM   #1
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
simple benchmark for apache question.


hello all. i compiled apache 2.0.48 twice. once using gcc and the other using intel's compiler (icc). i assumed i did the intel one right as ./configure --help said environment variables should be listed in the Var=Value form. anyway the commands i used for ./configure were:

intel - ./configure --prefix=/usr/local/apache CC=icc --with-ssl=/usr/include/openssl

gcc - ./configure --prefix=/usr/local/apache --with-ssl=/usr/include/openssl

anyway, if that's wrong for compiling with intel, i guess you'll let me know. i'm manually renaming the directories too.

Basically, i'm looking for some kind of command to apache where i can time how long it takes to serve up my test page that has about 150 linked images at an average of 30KB/image. i've been doing so far:

time konqueror http://localhost/~user/test.html

but that requires me to be able to perfectly time when to close konqueror out when the page has finished loading. plus i think there maybe time differences to when konq actually loads and exits.

anyway, is there a better way of seeing the output performance between gcc and icc in regards to apache performance or should i just say fuhgeddaboutid?
 
Old 11-05-2003, 03:11 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Take a look at the benchmarking utility that comes with apache "ab":
man ab
 
Old 11-05-2003, 06:20 PM   #3
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Original Poster
Rep: Reputation: 46
cool. thanks for that info, dave. in case anyone's interested, both are about the same at around .76 seconds for a test of 10 requests (each test run 10 times for each compiled apache version), but the apache compiled with intel's compiler had a few in there that were .1 - .2 seconds while apache never got below .7 seconds. so i went with the apache compiled by intel's compiler.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
simple apache - php question davespink Linux - Newbie 4 12-28-2005 05:47 PM
SIMPLE Apache question funehmon Linux - Software 6 02-10-2005 12:01 AM
Simple apache question technochef Linux - Software 5 09-06-2004 07:31 PM
Simple Apache Question ppuddick Linux - Software 3 07-09-2003 12:15 PM
Apache question...hopefully, simple tarballed Linux - Networking 1 02-04-2003 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration