niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Not Unix » VMS » vmsperl
[patch@27694] VMS RMSEXPAND/PERL_CANDO fixes
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
John E. Malmberg
*nix forums Guru Wannabe


Joined: 30 May 2005
Posts: 264

PostPosted: Mon Apr 03, 2006 11:39 am    Post subject: [patch@27694] VMS RMSEXPAND/PERL_CANDO fixes Reply with quote

This patch updates vms.c and vmsish.h:

In vmsish.h, add a new flag for RMSEXPAND to tell it not to do the
initial vmsify() step when it is not needed.

The ODS-2 only variant of the RMSEXPAND was missing some of the fixes
needed for using it to completely replace vmsify() for internal use
where the output needs to fit in 256 characters.

Perl_cando_by_name() was also calling vmsify() or rmsexpand() sometimes
on filenames that were already in the proper VMS format.

Removing the redundant or unneeded calls to vmsify() results on in the 6
minute reduction in the time needed to run the Perl test suite on my
system. The CPU time reduction can not easily be calculated because it
does not include subprocesses.

EAGLE> search thread.log; " time"
Elapsed CPU time: 0 00:02:18.80
Connect time: 0 01:15:17.85

EAGLE> search thread.log;-1 " time"
Elapsed CPU time: 0 00:02:20.64
Connect time: 0 01:21:26.60

-John
wb8tyw@qsl.net
Personal Opinion Only
Back to top
John E. Malmberg
*nix forums Guru Wannabe


Joined: 30 May 2005
Posts: 264

PostPosted: Thu Apr 06, 2006 11:41 pm    Post subject: Re: [patch@27694] VMS RMSEXPAND/PERL_CANDO fixes Reply with quote

John E. Malmberg wrote:
Quote:
This patch updates vms.c and vmsish.h:

In vmsish.h, add a new flag for RMSEXPAND to tell it not to do the
initial vmsify() step when it is not needed.

The ODS-2 only variant of the RMSEXPAND was missing some of the fixes
needed for using it to completely replace vmsify() for internal use
where the output needs to fit in 256 characters.

Perl_cando_by_name() was also calling vmsify() or rmsexpand() sometimes
on filenames that were already in the proper VMS format.

Removing the redundant or unneeded calls to vmsify() results on in the 6
minute reduction in the time needed to run the Perl test suite on my
system. The CPU time reduction can not easily be calculated because it
does not include subprocesses.

EAGLE> search thread.log; " time"
Elapsed CPU time: 0 00:02:18.80
Connect time: 0 01:15:17.85

EAGLE> search thread.log;-1 " time"
Elapsed CPU time: 0 00:02:20.64
Connect time: 0 01:21:26.60

Any progress on this patch?

-John
Back to top
Craig A. Berry
*nix forums Guru Wannabe


Joined: 27 May 2005
Posts: 143

PostPosted: Fri Apr 07, 2006 3:06 am    Post subject: Re: [patch@27694] VMS RMSEXPAND/PERL_CANDO fixes Reply with quote

At 7:41 PM -0400 4/6/06, John E. Malmberg wrote:

Quote:
Any progress on this patch?

Sorry to disappear for a couple days. I just checked it in as #27733.


--
________________________________________
Craig A. Berry
mailto:craigberry@mac.com

"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Sat Nov 22, 2008 12:10 pm | All times are GMT
navigation Forum index » Not Unix » VMS » vmsperl
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts [PATCH] Mantaining turnstile aligned to 128 bytes in i386... Attilio Rao Architecture 5 Tue Jul 25, 2006 3:13 pm
No new posts SUSE 10.1 new patch Butternut Squash Suse 3 Fri Jul 21, 2006 3:27 am
No new posts Problems with make-kpkg and skas patch Todd A. Jacobs Debian 0 Fri Jul 21, 2006 12:30 am
No new posts someone using apmd on ppc please test patch for #222635 Aníbal Monsalve Salazar devel 1 Thu Jul 20, 2006 11:50 pm
No new posts HPSBMA02133 SSRT061201 rev.1 - HP Oracle for OpenView (Of... Security Alert HP-UX 0 Thu Jul 20, 2006 6:43 pm

Agencia de turismo | Internet Advertising | Debt Consolidation | Internet Advertising | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1703s ][ Queries: 16 (0.0960s) ][ GZIP on - Debug on ]