If I run modperl2 program, anything special I need to take care? I don't know if the modperl program will benefit from the new cpu technique?
On 2/20/06, Rob Coops <[EMAIL PROTECTED]> wrote: > The awnser is a little more complicated than yes or no... > - Does your compiler support dual core? (the awnser on most modren systems > woudl be yes) > - Does the code you are compiling utilize more than one core? (the usual > awnser is who knows unless you start going over the code it will be a > guessing game) > - HT (Hyper Treading) is nothing more than a technique to execute some > treads on one and other treads on the other core. So unless you are using > treads in your perl code or very heavily relying on compiled code that uses > treads this is of little real use. > > So Perl it self couldn't care less about if you are using a single core or a > multi core machine. It is the code that you write and the modules that you > use that are the possible issues. So if you are in need of more power try to > make as much process as posible run in paralel using threads (or fork of > course), then for that extra bit of mussle you could try and tackle the libs > that perl you are using, rework and recompile, though that is not very > advisable as this will force you to check and do this everytime these libs > are updated. > > Regards, > > Rob > > > On 2/20/06, Owen Cook <[EMAIL PROTECTED]> wrote: > > > > > > On Mon, 20 Feb 2006, Ken Perl wrote: > > > > > Does perl support dual core cpu(HT) technology? > > > -- > > > perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"[EMAIL > > > PROTECTED] > > > ")' > > > > > > As an observer, I would say yes. > > > > When you configure CPAN, I think it asks a question "How many cores do you > > have...press enter if you don't understand this question" The letter > > "j" appears > > > > Also when you build perl, the config script asks a similiar question IIRC. > > > > > > > > Owen > > > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > > > > > > -- perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"[EMAIL PROTECTED] ")' -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>