[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87vdp7735b.fsf@basil.nowhere.org>
Date: Tue, 14 Apr 2009 15:53:20 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Dragoslav Zaric <dragoslav.zaric.kd@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Cyrill Gorcunov <gorcunov@...il.com>
Subject: Re: Fast testing
Dragoslav Zaric <dragoslav.zaric.kd@...il.com> writes:
As others pointed out vmlinux is not demand paged.
> Since rebooting is a long process,
The trick is to not make it a long process. Some ways to do that:
- Test simple changes in emulation. Emulators tend to boot faster
than real systems.
- Use a stripped down Linux distribution that boots fast. I found
that just using a old Linux distribution (without udev with static /dev)
and minimal services boots dramatically faster. I use opensuse 10.0 for that.
- When you need to test on a real system use nfsroot with kernel
boot through PXE. First that saves you one iteration of rebooting/copying
to update a kernel. And then the NFS server can keep the small nfsroot cached
in memory and then deliver it immediately.
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists