[lsb-discuss] Multi-lib standards

Bruce Dubbs bruce.dubbs at gmail.com
Mon Nov 23 22:10:16 PST 2009


Dennis Gilmore wrote:

> 32 bit sparc
> -rwxr-xr-x 1 root root 869K 2009-08-11 00:45 /bin/bash
> -rwxr-xr-x 1 root root 318K 2009-08-12 00:19 /usr/lib/libcurl.so.4.1.1
> -rwxr-xr-x 1 root root 184K 2009-08-17 00:57 /lib/libpcre.so.0.0.1
> 
> 64 bit sparc 
> -rwxr-xr-x 1 root root 905K 2009-08-11 00:45 /bin/bash
> -rwxr-xr-x 1 root root 350K 2009-08-12 00:21 /usr/lib64/libcurl.so.4.1.1
> -rwxr-xr-x 1 root root 192K 2009-08-17 00:56 /lib64/libpcre.so.0.0.1
> 
> 
> the binaries are a little bigger but not a huge amount.
> 
> 
> 32 bit bash running output from ps axv 
> 2611 pts/0    S+     0:01      1   931  4612  2128  0.0   /bin/bash -i
> 
> 64 bit bash running output from ps axv  
> 2626 pts/1    S+     0:00      0  1927 88392  2376  0.0  /bin/bash -i

That's very interesting.  It's been a long time since I looked at those 
numbers in ps, but isn't the RSS (resident memory) about the same: 2.1M 
v 2.4M?  I may be reading the output wrong though.

On Linux x86 I get:

64-bit
  2387 pts/1    SN+    0:00      0  1479 13528  2516  0.0 vim
  2390 pts/1    SN+    0:00      0   648 14903  1760  0.0 /bin/bash -i

32-bit
10720 pts/0    S+     0:00      0  1569 11606  4328  0.2 vim
10978 pts/6    S+     0:00      0   480  2312  1504  0.0 /bin/bash -i

Yes, I'm surprised that the 32-bit executable for vim is larger than the 
corresponding 64-bit value too.  For bash I get similar results as you 
do, but much smaller in absolute values.

   -- Bruce


More information about the lsb-discuss mailing list