I was just wondering if there are special tricks people do
that compile A LOT on centos? Do RAM disks help or something else I dont
about that minimizes your compile time? I presently have and AMD x2
4800+ with 2GIG ram.
Just curious if I can reduce any more time out of my compiles.
Jerry
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
11-29-2007, 09:28 PM
Frank Cox
special tricks for developers box on centos 5
On Thu, 29 Nov 2007 16:36:39 -0500
Jerry Geis <geisj@pagestation.com> wrote:
> I was just wondering if there are special tricks people do
> that compile A LOT on centos? Do RAM disks help or something else I dont
> about that minimizes your compile time? I presently have and AMD x2
> 4800+ with 2GIG ram.
On Nov 29, 2007 10:36 PM, Jerry Geis <geisj@pagestation.com> wrote:
> I was just wondering if there are special tricks people do
> that compile A LOT on centos? Do RAM disks help or something else I dont
> about that minimizes your compile time? I presently have and AMD x2
> 4800+ with 2GIG ram.
# make -j <N> to compile in //
>
> Just curious if I can reduce any more time out of my compiles.
>
> Jerry
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
--
Alain Spineux
aspineux gmail com
May the sources be with you
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
11-29-2007, 10:26 PM
Mark Pryor
special tricks for developers box on centos 5
Jerry,
--- Jerry Geis <geisj@pagestation.com> wrote:
> I was just wondering if there are special tricks
> people do
> that compile A LOT on centos? Do RAM disks help or
> something else I dont
> about that minimizes your compile time? I presently
> have and AMD x2
> 4800+ with 2GIG ram.
>
> Just curious if I can reduce any more time out of my
> compiles.
Watch out for background processes that steal
resources:
Move /etc/cron.daily/ mlocate
prelink
to /etc/cron.weekly
Remove /etc/cron.daily/makewhatis and let it only
run weekly (its already in weekly)
Open /etc/updatedb and tune it for your system:
add ntfs-3g or vfat to prunefs
If you have any mock partitions, add that to
prunepath
--
Mark
My C5 repo with RequestTracker
http://www.tlviewer.org/centos
__________________________________________________ __________________________________
Be a better sports nut! Let your teams follow you
with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
11-29-2007, 10:34 PM
"Ross S. W. Walker"
special tricks for developers box on centos 5
Title: Re: [CentOS] special tricks for developers box on centos 5
More importantly, mount your dev filesys with atimes disabled and ext3 indexing on.
Use tmpfs for /tmp, /usr/tmp, /var/tmp, it uses swappable ram filesys which helps a lot too. Make sure nothing gets put in those tmp dirs that needs to persist across a reboot and limit the max size each can take to 1/2 total memory.
More memory...
As far as background jobs go, reschedule them for day time hours when your asleep ;-)
Be a better sports nut!* Let your teams follow you
with Yahoo Mobile. Try it now.* http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
11-30-2007, 12:26 AM
Jerry Geis
special tricks for developers box on centos 5
Frank Cox wrote:
On Thu, 29 Nov 2007 16:36:39 -0500
Jerry Geis <geisj@pagestation.com> wrote:
I was just wondering if there are special tricks people do
that compile A LOT on centos? Do RAM disks help or something else I dont
about that minimizes your compile time? I presently have and AMD x2
4800+ with 2GIG ram.
yum install ccache
Frank - HEY that is fantastic.... Dropped complete compile from 27
seconds to 14.
I was not aware of this...
Jerry
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
11-30-2007, 12:53 AM
Frank Cox
special tricks for developers box on centos 5
On Thu, 29 Nov 2007 20:26:21 -0500
Jerry Geis <geisj@pagestation.com> wrote:
> Frank - HEY that is fantastic.... Dropped complete compile from 27
> seconds to 14.
>
> I was not aware of this...
Oddly enough, a lot of people don't seem to be aware of it. I think it's right
up there with sliced bread and beer in bottles, myself. I have no idea why
it doesn't seem to have the mind-share that it richly deserves.
ccache does not appear to be part of the centos base or core or whatever you
wanna call it
I see that karan and dag have it in their space
Is there any downside to installing ccache?
If so, in what terms?
How about on an internet facing box?
- rh
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
11-30-2007, 01:34 AM
Frank Cox
special tricks for developers box on centos 5
On Thu, 29 Nov 2007 18:25:47 -0800
Robert - elists <lists07@abbacomm.net> wrote:
> ccache does not appear to be part of the centos base or core or whatever you
> wanna call it
I think it's just too new and shiny. ccache is installed by default with
Fedora 8.
> Is there any downside to installing ccache?
None that I've noticed myself. It can eat up a fair bit of hard drive space,
but you can set that for whatever you want and in the age of big hard drives
that's not a terribly significant issue.
> How about on an internet facing box?
I can't see how it would introduce any vulnerabilities that a c compiler
doesn't introduce on its own. But I'm not a security expert either, so what I
do I know....
>
> I think it's just too new and shiny. ccache is installed by default with
> Fedora 8.
>
Wow, fedora 8?
Where have I been?
Sheesh, most of us are still dealing with considering centos 5 migrations
from rock solid centos 4 "as necessary" eh?
Isn't this fedora thing getting a little bit "cat outta the bag" or has
there been a consensus of how many passing fedora's will make up a new
"upstream release number?"
Anyone care to share?
- rh
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos