473,574 Members | 2,454 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Perl 5.8.4 Slow

I'm seeing a significant performance degradataion between my two Debian
linux boxes. Before getting into too many deatils, I thought I'd see
if anyone has experienced a similar problem and can suggest a solution.

Box 1 (chetball):
- Pentium 233 MMX, 96 MB Ram
- Kernel 2.4.19
- Perl 5.6.1 built for i386-linux

Box 2 (pos):
- Celeron 300, 192 MB Ram
- Kernel 2.6.10-1-686
- Perl 5.8.4 built for i386-linux-thread-multi

I've got a simple module that I run on each machine using DProf:

chetball:/tmp# perl -d:DProf -e 'use LogFile;'; dprofpp -u tmon.out
Total Elapsed Time = 1.354992 Seconds
User Time = 0.814793 Seconds

pos:/tmp# perl -d:DProf -e 'use LogFile;'; dprofpp -u tmon.out
Total Elapsed Time = 5.597755 Seconds
User Time = 5.187755 Seconds

Yikes! The celeron box takes 5.6 seconds, whereas the p233 takes 1.4.

dprofpp on pos reports the following in its output:

POSIX::load_imp orts has 1 unstacked calls in outer
POSIX::AUTOLOAD has -1 unstacked calls in outer
Sys::Syslog::__ ANON__ has 1 unstacked calls in outer
Sys::Syslog::AU TOLOAD has -1 unstacked calls in outer
Exporter::expor t has -3 unstacked calls in outer
Exporter::Heavy ::heavy_export has 3 unstacked calls in outer

I'm not sure if that's indicative of the problem I'm seeing.

Any help would be appreciated.

Thanks,
Paul

Jul 19 '05 #1
0 2650

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

77
4019
by: Hunn E. Balsiche | last post by:
in term of its OO features, syntax consistencies, ease of use, and their development progress. I have not use python but heard about it quite often; and ruby, is it mature enough to be use for developing serious application, e.g web application as it has not many features in it yet. I've given up on Perl for its ugly syntax and it is not the...
9
10182
by: Martin Foster | last post by:
Hi. I would like to be able to mimic the unix tool 'uniq' within a Perl script. I have a file with entries that look like this 4 10 21 37 58 83 111 145 184 226 4 12 24 42 64 92 124 162 204 252 4 11 23 44 67 95 134 168 215 271 ..
1
17997
by: J-miami | last post by:
I am just starting to learn Perl. I had an idea that there should be free open-source Internet Cafe management software for Linux. I searched around online but couldn't find anything. The program would be appealing to anyone wanting to offer Internet access to their customers, from Internet Cafes to hotels. Who wants to pay hundreds or...
13
2473
by: Jesse Thompson | last post by:
Greetings fell XML folk. I've just gotten started making SAX filters in Perl. I was hoping to build an XML templating engine this way, but the performance of XML::SAX::Expat and XML::SAX::Writer *appear* to be unthinkably bad. This code: XML::SAX::Expat->new(Handler => XML::SAX::Writer->new( Output => '>-' ))->parse_uri("test.xml");
3
2455
by: phal | last post by:
Hi all; I code Perl for CGI, I using regular expression to check the validation of user input, because the form is small and it run only from my own computer, anyways if many people using my form, do you think it will be slow due to Perl is run under server. How about using JavaSCript to check validation for user input? Do you think...
0
2240
by: Ton 't Lam | last post by:
Within the compagny where I work, there is a pretty slow Web based tool. Response times up to 3 minutes. This is boring, but I have to work with it. Is there a way that a Perl program is created as a layer. It fetches the data from several field, and then I enter my data in my program. Behind the scene all is processed further. Thus somehow...
12
2336
by: rurpy | last post by:
Is there an effcient way (more so than cgi) of using Python with Microsoft IIS? Something equivalent to Perl-ISAPI?
6
1942
by: www.gerardvignes.com | last post by:
Hi, Have you run into a situation where you had to switch from PHP 4.x.x to Perl 5.x.x in order to get better performance? I am using an OO approach to PHP for my website's server code. There is one tiny script, with dozens of small objects. Each object is in a separate source file. It is a bit slow, even when the code doesn't do much...
1
7178
KevinADC
by: KevinADC | last post by:
Introduction In part one we discussed the default sort function. In part two we will discuss more advanced techniques you can use to sort data. Some of the techniques might introduce unfamiliar methods or syntax to a less experienced perl coder. I will post links to online resources you can read if necessary. Experienced perl coders might find...
0
7797
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7715
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7806
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8093
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5611
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3739
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3748
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2233
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1333
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.