perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barksdale, Ray" <barksd...@mdot.state.ms.us>
Subject RE: compile problems
Date Wed, 29 Dec 2004 16:59:46 GMT
 

> -----Original Message-----
> From: Joe Schaefer [mailto:joe+gmane@sunstarsys.com] 
> Sent: Tuesday, December 28, 2004 7:30 PM
> To: mod_perl user list
> Subject: Re: compile problems
> 
> "Barksdale, Ray" <barksdale@mdot.state.ms.us> writes:
> 
> [...]
> 
> >> >>From this:
> >> > Total:     608169K ( 580M) size, 145465K ( 139M) approx 
> >> real size (-shared)
> >> > 
> >> > down to this:
> >> > Total:     600129K ( 572M) size, 131588K ( 125M) approx 
> >> real size (-shared)
> 
> 
> Are you sure this isn't just some wackiness in the virtual 
> memory reporting on amd64?   I've been using debian amd64 
> for a while, and the VSZ numbers have been consistently absurd 
> for all my processes (eg they often total to considerably more 
> than my available RAM + swap).  For instance here's my emacs 
> on debian woody (32bit):
> 
>        % emacs -nw &
>        [1] 13029
>        % ps u
>        USER       PID %CPU %MEM   VSZ  RSS ...
>        joe      13029  0.0  0.3  8020 3208 ...
> 
> and on amd64:
> 
>        % ps u
>        USER       PID %CPU %MEM    VSZ   RSS ...
>        joe      21248  0.0  0.2  29144  4336 ...
> 
> 
> The libraries emacs links to are basically the same:
> 
>  % ldd `which emacs` | perl -alpe '$a += `du -bL $F[2]`} $_=$a;{'
> 
>  =>
> 
>    5060944 bytes for 64bit, 
>    4063232 bytes for 32bit.
> 
> So the libraries are ~25% larger, the emacs binary
> is ~60% larger (3985408 vs 6633208), but ps reports
> almost a four-fold increase in VSZ.  Go figure.
> 
> Here's a possibly relevant link I found while googling
> for an answer:
> 
>  
> https://www.redhat.com/archives/amd64-list/2004-September/msg0
> 0003.html

I'm glad you found this. I was going to build a new gcc and friends
this afternoon. 

Looks like that's it. I'm seeing a 5-fold difference in reported usage
between the 32-bit and 64-bit boxes for perl and CPAN shell. 
Haven't seen any httpd's killed off but the box has 4 Gigs and a light load.

The 25% figure is what I had expected based on 
http://gcc.fyxm.net/summit/2003/Porting%20gcc%20to%20the%20amd64.pdf



> 
> -- 
> Joe Schaefer
> 
> -- 
> Report problems: http://perl.apache.org/bugs/
> Mail list info: http://perl.apache.org/maillist/modperl.html
> List etiquette: http://perl.apache.org/maillist/email-etiquette.html
> 


*****CONFIDENTIALITY NOTICE*****
This e-mail and any files or attachments may contain confidential and
privileged information.  If you have received this message in error, please
notify the sender at the above e-mail address and delete it and all copies
from your system.



-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message