List Info

Thread: Re: Performance Tracker project update




Re: Performance Tracker project update
user name
2008-02-13 02:29:51
> As suggested in other posts, deleting .pyo and .pyc
files gets me down to
> 6MB. Static libraries (.a files) in /usr/lib and
/usr/local/lib still have
> mismatching MD5 sums even though no source code change
warrants this. Can
> I do anything about that?

Perhaps they have an embedded timestamp or version number?

> Are static libraries even needed anymore?

Are you going to be compiling anything?

Has anyone compared performance of static vs dynamic linking
lately?
IIRC dynamic linking has a runtime performance hit which may
or may not
be significant depending on what you're doing.
_______________________________________________
freebsd-performancefreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-p
erformance
To unsubscribe, send any mail to
"freebsd-performance-unsubscribefreebsd.org"

Re: Performance Tracker project update
country flaguser name
Denmark
2008-02-13 11:14:47
Dieter skrev:
>> As suggested in other posts, deleting .pyo and .pyc
files gets me down to
>> 6MB. Static libraries (.a files) in /usr/lib and
/usr/local/lib still have
>> mismatching MD5 sums even though no source code
change warrants this. Can
>> I do anything about that?
> 
> Perhaps they have an embedded timestamp or version
number?

This seems to be the case:

# strings DIR1/usr/lib/libfetch.a > tmp1
# strings DIR2/usr/lib/libfetch.a > tmp2
# diff tmp1 tmp2
2c2
< /               1200728973  0     0     0       954    
  `
---
 > /               1200723259  0     0     0       954   
   `
57c57
< file.o/         1200728973  0     0     100644  2356   
  `
---
 > file.o/         1200723259  0     0     100644  2356  
   `
86c86
< http.o/         1200728973  0     0     100644  17180  
  `
---
 > http.o/         1200723258  0     0     100644  17180 
   `
[...]

The changing number is the modification date of the .o file
(I think).

>> Are static libraries even needed anymore?
> 
> Are you going to be compiling anything?

I'm compiling ports, but I could delete the files
afterwards. It would 
be nice to be able to compile stuff in the images in the
future, though.

I think I'll just leave the files there for the time being.
It's a size 
reduction of less than 1 MB.

Erik
_______________________________________________
freebsd-performancefreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-p
erformance
To unsubscribe, send any mail to
"freebsd-performance-unsubscribefreebsd.org"

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )