|
|||||||||||
|
Re: [PATCH] Support for "hardware burn-in" stage
From: Chris Lamb <chris(at)chris-lamb.co.uk>
Date: Fri Feb 08 2008 - 12:46:17 EST
Hi, thanks for your comments. > I have the following questions that I'd like to see answered to so we So, this question really has two answers. As the answer filters down into some of your other questions, I will attempt to be somewhat detailed. No, in the sense that the latest CPU on that list is a K7, which is quite old.. But yes in the sense that most of the burnFOO flavours are simply an attempt to use some specific properties of the CPU to generate a lot of heat, such as ruining cache lines and (ab)using floating point and integer math. In my experience, however, if a machine is tending to lock-up, then any of the flavours will reproduce it. Even a "while true; do done" shell loop will do it. Hardware failures seem to be too non-deterministic to be able to claim that a particular variant causes lock-ups quicker, however. On the other hand, judging by the upstream's documentation, some trial and effort is required to really "push" a CPU. I'm not sure burnP6 is really pushing my modern, 4-core CPU, but it does to a better job at heating my room than parallel squashfs, kernel compiles or an empty C loop. On balance, I think the answer here is "no, but it doesn't really matter". > Are multiprocessor systems supported? Not natively by cpuburn. However, my patch spawns n instances where n is determined by $(grep -c "^processor" /proc/cpuinfo). (Is this method portable?) This causes 100% CPU on all 4 of my cores. > Will cpuburn work in emulators or virtual machines? Yes. I have tested under Qemu (0.9.1, 32- and 64-bit) and VirtualBox (1.5.4) > Is the program safe in the sense that if an incorrect processor type is It's safe by this definition, yes. See above for more. > It could be safer to have it listed after Finish install and thus only I agree, yes. Is the target filesystems still mounted then? > What are its dependencies? Please show the output of debc (of dpkg -I)
% dpkg -I cpuburn-udeb_1.4-27_amd64.udeb
new debian package, version2.0.
271 bytes, 11 lines control
2703 bytes, 141 lines * postinst #!/bin/sh
1311 bytes, 42 lines templates
Package: cpuburn-udeb
Source: cpuburn
Version: 1.4-27
Architecture: amd64
Installer-Menu-Item: 95000
Maintainer: Aurelien Jarno > - I wonder if the CPU type could not be determined based on /proc/cpuinfo That would be possible.. However, do you still think it is necessary after my above comments? (If so, can I call on code you linked, or should I roll my own?) I agree with and have applied your
..locally. I'll only repost the patch when it contains something interesting, however. > I'd also like to test the udeb before final approval. How would I help you do this? :) Regards,
--
Chris Lamb, UK chris@chris-lamb.co.uk
GPG: 0x634F9A20
-- To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 05:17:36 EDT |
||||||||||
|
|||||||||||