Date: Fri, 4 Oct 2002 08:09:48 -0700 From: Bill Huey (Hui) <billh@gnuppy.monkey.org> To: Stefan Arentz <stefan.arentz@soze.com> Cc: freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" <billh@gnuppy.monkey.org> Subject: Re: Hacking on JDK 1.3.1 Message-ID: <20021004150948.GA11187@gnuppy.monkey.org> In-Reply-To: <20021004145338.GA11032@gnuppy.monkey.org> References: <20020929195045.GA51533@keyser.soze.com> <20021004143913.GA10940@gnuppy.monkey.org> <20021004145338.GA11032@gnuppy.monkey.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 04, 2002 at 07:53:38AM -0700, Bill Huey wrote: > On Fri, Oct 04, 2002 at 07:39:13AM -0700, Bill Huey wrote: > > > FreeBSD Native with compiler1: > > > > > > Requests per second: 205.64 [#/sec] (mean) > > > Time per request: 121.569 [ms] (mean) > > > Time per request: 4.863 [ms] (mean, across all concurrent requests) > > > Transfer rate: 259.61 [Kbytes/sec] received > > Ok, I just benched this and there's no immediate change, but at least the web > pages comes up quickly now without that funny long pause. You know what ? I think you mixed the dynamic context and static content numbers up which is why those above figure looks so bad. Ran from my Linux box (ab) to the test SMP dev (HotSpot) box I've got... Try: =========================================================== "Native HotSpot" billh@gnuppy> /Users/billh% 23% ab -n 2500 -c 25 http://finfin:8080/examples/jsp/dates/date.jsp This is ApacheBench, Version 1.3d <$Revision: 1.65 $> apache-1.3 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ Benchmarking finfin (be patient) Completed 250 requests Completed 500 requests Completed 750 requests Completed 1000 requests Completed 1250 requests Completed 1500 requests Completed 1750 requests Completed 2000 requests Completed 2250 requests Finished 2500 requests Server Software: Tomcat Server Hostname: finfin Server Port: 8080 Document Path: /examples/jsp/dates/date.jsp Document Length: 425 bytes Concurrency Level: 25 Time taken for tests: 24.363 seconds Complete requests: 2500 Failed requests: 0 Broken pipe errors: 0 Total transferred: 1472500 bytes HTML transferred: 1062500 bytes Requests per second: 102.61 [#/sec] (mean) Time per request: 243.63 [ms] (mean) Time per request: 9.75 [ms] (mean, across all concurrent requests) Transfer rate: 60.44 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 7 Processing: 49 243 166.8 211 1778 Waiting: 49 242 166.8 210 1777 Total: 49 243 166.9 211 1779 Percentage of the requests served within a certain time (ms) 50% 211 66% 220 75% 226 80% 232 90% 254 95% 301 98% 661 99% 781 100% 1779 (last request) =========================================================== "Linux emulator HotSpot" billh@gnuppy> /Users/billh% 24% ab -n 2500 -c 25 http://finfin:8080/examples/jsp/dates/date.jsp This is ApacheBench, Version 1.3d <$Revision: 1.65 $> apache-1.3 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ Benchmarking finfin (be patient) Completed 250 requests Completed 500 requests Completed 750 requests Completed 1000 requests Completed 1250 requests Completed 1500 requests Completed 1750 requests Completed 2000 requests Completed 2250 requests Finished 2500 requests Server Software: Tomcat Server Hostname: finfin Server Port: 8080 Document Path: /examples/jsp/dates/date.jsp Document Length: 425 bytes Concurrency Level: 25 Time taken for tests: 18.923 seconds Complete requests: 2500 Failed requests: 0 Broken pipe errors: 0 Total transferred: 1472500 bytes HTML transferred: 1062500 bytes Requests per second: 132.11 [#/sec] (mean) Time per request: 189.23 [ms] (mean) Time per request: 7.57 [ms] (mean, across all concurrent requests) Transfer rate: 77.82 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 6 Processing: 99 188 48.6 187 627 Waiting: 99 188 48.6 186 626 Total: 99 188 48.7 187 628 Percentage of the requests served within a certain time (ms) 50% 187 66% 198 75% 208 80% 212 90% 224 95% 233 98% 243 99% 340 100% 628 (last request) =========================================================== It's about 80 percent slower, but still on par with the Linux version. I think you might have screwed up with the command line. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021004150948.GA11187>