Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
This isn't much of a surprise. In general, moving an application from a 32 to a 64 bit architecture machine will mean more memory usage, and 60% sounds about right.

While the memory used by strings and floating point data generally won't change in size, integers and pointers are now twice as big as they used to be, and perl makes use of a lot of integers and pointers internally. Going to a 64 bit architecture also means that the way some data structures are packed together changes and makes them a bit bigger on top of the extra memory needed for the larger pointers and integers.

This is true of any language, not just perl. Do a 64-bit build of python or ruby, or recompile your C program to be fully 64-bit, and you'll see the same sort of memory usage increase.

Basically assume a move to a 64 bit platform means you need twice as much memory on the system for equivalent performance. That's a bit of an over-estimate, but it should see you through OK, and memory's reasonably cheap.

In reply to Re: 64-bit architecture a memory hog for Apache/mod_perl? by Elian
in thread 64-bit architecture a memory hog for Apache/mod_perl? by Booger

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2021-08-05 22:15 GMT
Find Nodes?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)

    Results (44 votes). Check out past polls.