Re: Rebuilding .src.rpm's for performance

2002-11-21 Thread Rick Johnson
m home) PGP Key: https://mail.medata.com/pgp/rjohnson.asc - Original Message - From: "Andy Elacion, Jr." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: Rebuilding .src.rpm's for performance > I tried also to rebuild my apache for athlon an

Re: Rebuilding .src.rpm's for performance

2002-11-21 Thread Javier Gostling
On Wed, Nov 20, 2002 at 09:22:03AM -0500, Kent Borg wrote: > Oh, and I am a fan of software raid 1, not only for redundancy, but > because it is faster for reading than a single disk. (At least it is > for IDE where putting paralel disks on separate controllers is > practical.) If you want to be

Re: Rebuilding .src.rpm's for performance

2002-11-21 Thread Adam Bowns
On Wed, 2002-11-20 at 14:22, Kent Borg wrote: > Do you (or could you) compile Linux kernels very often? Then go for > it, kernel compiles seem to saturate the CPU pretty well. It sounds > like you have a nice fast machine. Making it faster would be fun. > (And don't listen to those who say you s

Re: Rebuilding .src.rpm's for performance

2002-11-21 Thread Andy Elacion, Jr.
I tried also to rebuild my apache for athlon and it works fine. Say, I would like to recompile apache with CFLAGS="-DHARD_SERVER_LIMIT=4000", where do I insert this? Thanks, Andy > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > And to reply to myself - I've discovered that if you use the

Re: Rebuilding .src.rpm's for performance

2002-11-20 Thread Rick Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam Bowns wrote: | I am considering rebuilding all the rpm's in use on my system so they | are optimised for my processor, but I have a few questions I would | really like to know the answer to before i start :-) | Funny - I was just pondering doing

Re: Rebuilding .src.rpm's for performance

2002-11-20 Thread Kent Borg
On Wed, Nov 20, 2002 at 02:33:35AM +, Adam Bowns wrote: > I don't have a performance issue, or at least i don't think i've got > one :-) How do I go about testing this ? Do you (or could you) compile Linux kernels very often? Then go for it, kernel compiles seem to saturate the CPU pretty wel

Re: Rebuilding .src.rpm's for performance

2002-11-20 Thread Rick Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam Bowns wrote: | Thanks for the advice. I dont seem to have a /etc/rpmrc file so i | modified the /usr/lib/rpm/rpmrc to make it use -O3 optimization when | compiling for the athlon You can always create one. Add that one line from below. You could

Re: Rebuilding .src.rpm's for performance

2002-11-20 Thread Adam Bowns
Thanks for the advice. I dont seem to have a /etc/rpmrc file so i modified the /usr/lib/rpm/rpmrc to make it use -O3 optimization when compiling for the athlon optflags: athlon -O3 -march=athlon i've tested this on a few packages using the command you suggested, rpmbuild --rebuild --target athlo

Re: Rebuilding .src.rpm's for performance

2002-11-19 Thread Ed Wilts
On Wed, Nov 20, 2002 at 02:33:35AM +, Adam Bowns wrote: > I don't have a performance issue, or at least i don't think i've got one > :-) How do I go about testing this ? If you don't have a performance issue, your time is probably better spent elsewhere... In any case, run top and have a look

Re: Rebuilding .src.rpm's for performance

2002-11-19 Thread Adam Bowns
I don't have a performance issue, or at least i don't think i've got one :-) How do I go about testing this ? Its a desktop machine (Athlon-XP 2200, 1GB pc2700, Asus A7v333(VIA KT333) U160 SCSI HDD) thats used for normal everyday tasks with a bit of java and C development thrown in. The main appli

Re: Rebuilding .src.rpm's for performance

2002-11-19 Thread Ed Wilts
On Tue, Nov 19, 2002 at 06:06:05PM +, Adam Bowns wrote: > I am considering rebuilding all the rpm's in use on my system so they > are optimised for my processor, but I have a few questions I would > really like to know the answer to before i start :-) > > 1.Will it increase performance signifi

Re: Rebuilding .src.rpm's for performance

2002-11-19 Thread Rick Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 And to reply to myself - I've discovered that if you use the following command: rpm --rebuild --target -redhat-linux-gnu rpmname.src.rpm or rpm --rebuild --target -linux-gnu rpmname.src.rpm (they're synonimous since one symlinks to the other in /usr/

Rebuilding .src.rpm's for performance

2002-11-19 Thread Adam Bowns
I am considering rebuilding all the rpm's in use on my system so they are optimised for my processor, but I have a few questions I would really like to know the answer to before i start :-) 1.Will it increase performance significantly ? 2.Is rpmbuild fully linked into gcc ? Can i use all the flags

Rebuilding .src.rpm's for performance

2002-11-19 Thread Adam Bowns
I am considering rebuilding all the rpm's in use on my system so they are optimised for my processor, but I have a few questions I would really like to know the answer to before i start :-) 1.Will it increase performance significantly ? 2.Is rpmbuild fully linked into gcc ? Can i use all the flags