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
On Thu, 29 Nov 2007 16:36:39 -0500 Jerry Geis <geisj at 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 -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
Alain Spineux
2007-Nov-29 22:36 UTC
[CentOS] special tricks for developers box on centos 5
On Nov 29, 2007 10:36 PM, Jerry Geis <geisj at 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 at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- Alain Spineux aspineux gmail com May the sources be with you
Jerry, --- Jerry Geis <geisj at 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
Ross S. W. Walker
2007-Nov-29 23:34 UTC
[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 ;-) -Ross -----Original Message----- From: centos-bounces at centos.org <centos-bounces at centos.org> To: CentOS mailing list <centos at centos.org> Sent: Thu Nov 29 18:26:56 2007 Subject: Re: [CentOS] special tricks for developers box on centos 5 Jerry, --- Jerry Geis <geisj at 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 at 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20071129/ca030ecc/attachment-0005.html>