Gossamer Forum
Home : Products : DBMan : Customization :

DBMasn very slow on Sun Server

Quote Reply
DBMasn very slow on Sun Server
Hi There

When running DBMan on my PC with benchmarking I get the following return When running on Sun Sparc Server 20 with Solaris 2.5.1, 196 mb RAM and Netscape Enterprise Webserver (Perl 5.004) for exactly the same: "Processing Time: 1 wallclock secs ( 0.88 usr + 0.00 sys = 0.88 CPU)"

page I get "Processing Time: 24 wallclock secs ( 0.79 usr + 0.00 sys = 0.79 CPU)"

Any Idea what the problem can be?

How can the high Wallclock Secs vs CPU time be interpreted.

Thanks in advance

Robin Twiggs
Quote Reply
Re: DBMasn very slow on Sun Server In reply to
I think this is another "Alex" problem. I'm afraid I can't help you with it.


------------------
JPD





Quote Reply
Re: DBMasn very slow on Sun Server In reply to
Alex,

I was wondering why Benchmarking does not work on NT. Is there a work-around??

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: DBMasn very slow on Sun Server In reply to
Please excuse my resubmitting : I notice my first submission came out garbled.

When running DBMan on my PC with benchmarking I get the following return "Processing Time: 1 wallclock secs ( 0.88 usr + 0.00 sys = 0.88 CPU)"

When running on Sun Sparc Server 20 with Solaris 2.5.1, 196 mb RAM and Netscape Enterprise Webserver (Perl 5.004) for exactly the same page I get: "Processing Time: 24 secs ( 0.79 usr + 0.00 sys = 0.79 CPU)"

Any Idea what the problem can be(24 secs)?

How can the high Wallclock Secs vs CPU time be interpreted.

Thanks in advance

Robin Twiggs
Quote Reply
Re: DBMasn very slow on Sun Server In reply to
 
Quote:
I was wondering why Benchmarking does not work on NT. Is there a work-around??

It should as long as you have Benchmark.pm installed. It won't work on Win95, but should on NT. Try the latest version of perl from Activestate.


Quote:
When running on Sun Sparc Server 20 with Solaris 2.5.1, 196 mb RAM and Netscape Enterprise Webserver (Perl 5.004) for exactly the same page I get: "Processing Time: 24 secs ( 0.79 usr + 0.00 sys = 0.79 CPU)"

This can be a little misleading as it includes download time. When running on PC, the output is displayed really quickly, but if you run it remotely through a slow modem then the counter doesn't stop until all the info is transferred.

Perhaps it's just the connection is slow? Does it start transferring information right away?

Cheers,

Alex
Quote Reply
Re: DBMasn very slow on Sun Server In reply to
Alex,

Thanks for the suggestion. I did install the latest build of PERL from ActiveState (I think it was build 5.003). I will check to see if I have the Benchmark.pm and put it in our library directory.

Oops...We have PERL 5.005 installed. I did find the benchmark.pm file and will be testing it to see if it works.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us

[This message has been edited by Eliot (edited July 06, 1999).]
Quote Reply
Re: DBMasn very slow on Sun Server In reply to
Thanks Alex

I have noticed that the discrepancy in speed is directly proportional to the traffic experienced by the Server.

I noticed your response to Elliot above. With Activestate Perl 5.004 benchmarking works on Win 95 and Win 98. Something else I noticed is that I don't have to set $flock to 0 - I dont know whether file locking is working, but it does not generate errors in the above config.
Quote Reply
Re: DBMasn very slow on Sun Server In reply to
Okay, Alex...I found the benchmark.pm and moved it to an executable directory under the cgi-bin directory. I have tried a variety of different "require" statements and none of them seem to work.

Code:
Example 1:

require = "C:\InetPub\wwwroot\Coconino\cgi-bin\lib\benchmark.pm";

Example 2:

require = "../lib/benchmark.pm";

BTW: Here is the error message I receive:

Code:
*** 'C:\InetPub\wwwroot\Coconino\cgi-bin\directory\index.cgi' error message at: 1999/07/08 09:30:08
Can't locate object method "new" via package "Benchmark" at C:\InetPub\wwwroot\Coconino\cgi-bin\directory\index.cgi line 66.

How do I call the benchmark.pm file from the default.cgi (index.cgi in my case) file???

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us

[This message has been edited by Eliot (edited July 08, 1999).]

[This message has been edited by Eliot (edited July 08, 1999).]