[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] the right way to install from source
- To: "Henning Sprang" <henning_sprang@xxxxxx>
- From: "Abel Martín" <abel.martin.ruiz@xxxxxxxxx>
- Date: Wed, 19 Jul 2006 12:20:51 +0200
- Cc: xen-users@xxxxxxxxxxxxxxxxxxx
- Delivery-date: Wed, 19 Jul 2006 03:21:28 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=fdv5IVFt7yEbIkkliFOICT7REkcTTV1CoZhF5aulmldiqzUTx2oAaaaOP4GKkGpcmqOHSv+HEgMTdM+niCR0GxrzOmQP6b6DKqTLFwqPhi9gXsS4gLoFXM08kPkBO2s3n2wBZ9XsKxWB1qzvQ8vcZlzHYFUeqIe1EevwYOYMWkQ=
- List-id: Xen user discussion <xen-users.lists.xensource.com>
Hi.
This is not xen-only stuff, but I use ccache to speed up compilations. Install it and add these lines to your .bash_profile.
if [ -d /usr/lib/ccache ] ; then
PATH=/usr/lib/ccache:"${PATH}"
fi
The package files location might vary depending on your distro. It saves a lot of time when recompiling.
On 7/19/06, Henning Sprang wrote:
Hi,
On 7/19/06, Chris Fanning wrote: > [...] > If I want to recompile the kernel to include or exclude modules, I do > steps 1, 4, 5. > > This works, but is there a better/faster way?
If you want to recompile the kernel, you have to recompile the kernel - You could make it much faster by removing the part that takes the most time while recompiling the kernel - recompiling the kernel, but then, you wouldn't recompile the kernel :)
To be serious: the only way I know you can speed up recompiling the kernel is removing any unnecessary modules. And if you split into xen0 and xenU kernel, you can cut each single kernel even more, and you are
faster if you ony need to change one of these.
There was a question here once asking which kernel features must keep in the kernel to keep xen fully working, but was never answered.
Henning
_______________________________________________
Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|