On Fri, Nov 23, 2012 at 5:52 PM, Greg KH <[email protected]> wrote:
> On Fri, Nov 23, 2012 at 02:43:47PM +0100, Peter Senna Tschudin wrote:
>> On Fri, Nov 23, 2012 at 3:48 AM, Greg KH <[email protected]> wrote:
>> > On Thu, Nov 22, 2012 at 10:01:02AM +0100, Peter Senna Tschudin wrote:
>> >> I've write this scripts because I want to test both the build and the
>> >> boot of -rc stable Kernels. I would like some feedback on the
>> >> directions I'm going.
>> >>
>> >> My goal is to use cloud infrastructure like Amazon EC2 or Google
>> >> Compute Engine, to build and boot stable -rc Kernels.
>> >
>> > EC2 makes it pretty hard to boot your own kernels, right?  Does Google
>> > make it any easier?
>> I found a simple way of creating instances for testing Kernels at EC2.
>
> You did?  Any pointers to it?  I would love to be able to do this as
> part of my daily stable test builds that I do today on EC2.

I do not have instructions yet, but I can do an image/AMI for you, so
you can create instances of it. What distro do you want? I already
have a clean and minimum Fedora17 install that I've used successfully
today for compiling and testing 3.6.8-rc1.

>
>> Google is on trial mode and I was not invited to test it yet. :-)
>
> Heh, fair enough :)
>
>> > Have you looked at the ktest program in the kernel tree?  It is quite
>> > useful for building and testing kernels, I use it on EC2 to build the
>> > stable kernel trees.
>> I'll look at it, thank you.
>
> For example, here is my usage of ktest to take the stable kernel tree,
> apply the patches on my system (which can include those not already
> checked in, as I want to test them), and build a 'make allmodconfig'
> system on a remote server, EC2 is suspported:
>         https://github.com/gregkh/gregkh-linux/blob/master/scripts/test_stable
>
> If you want to take that, and add a option to use the built kernel to
> then boot up a specific instance running that kernel (perhaps a
> different vm image, as a boot system doesn't have to be as "big" as a
> build system", that would be very helpful in my daily "smoketest" work.

I want to take that. :-)

>
>> P.S. How do you build in near one minute at EC2? I'm using the
>> cc2.8xlarge type (60GB,2 x Intel Xeon E5-2670, eight-core "Sandy
>> Bridge" architecture), building on tmpfs it is taking about 5 minutes
>> for me...
>
> Hm, no, I _wish_ I could build in one minute on an EC2 image, right now
> it's about 5 minutes, as you have found.  I too put everything into a
> tmpfs to get the speed up (EC2 disk speeds suck), and I'm also using a
> cc2.8xlarge type, as that's the fastest one I could find.

I'll do some testing with distcc and EC2. Using distcc I was able to
reduce the build time by half using 2 desktops and my notebook instead
of only my notebook. Maybe we can have half minute if we use some
cc2.8xlarge... :-)

>
> thanks,
>
> greg k-h



--
Peter
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to