homepage Welcome to WebmasterWorld Guest from 54.204.68.109
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
Forum Library, Charter, Moderators: coopster & jatar k & phranque

Perl Server Side CGI Scripting Forum

    
increasing memory usage for running perl script
windows operating system, 64 bit dual core processors
RudyS




msg:4051196
 4:14 am on Dec 30, 2009 (gmt 0)

I have a rather ponderous script that aligns DNA sequences and assigns penalties for interactions generating a list of low penalty DNA sequences for PCR (polymerase chain reaction) ... the program takes about 5 min to select primers from several thousand bases of DNA ... when i run this script on a windows computer with 16 gByte of RAM it is not any faster than another computer with < 2 gByte of RAM ... both show 98 MB CPU usage ... is there a way to increase the RAM usage for perl scripts?

thanks guys ... happy new year

RudyS

 

phranque




msg:4051224
 6:17 am on Dec 30, 2009 (gmt 0)

oversimplifying here: perl tends to use what it needs for memory so it sounds like you are not memory constrained.
i would suggest you investigate whether your application is suitable for multi-threading and if so start researching "multiprocessor kernel threads".

RudyS




msg:4051226
 6:26 am on Dec 30, 2009 (gmt 0)

thanks phranque ... will let you know what i learn

janharders




msg:4051670
 9:33 pm on Dec 30, 2009 (gmt 0)

you can generally use threading (and increase performance!) if you can get work done in parallel, e.g. if you just work through log files and you don't need the results of all the earlier files, you could just run your script multiple times or use threading, where threading gives you a much nicer way to communicate.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved