Re: identify hardware
"Lluís Forns Puigmartí" <email@example.com> writes:
> I am installing debian on a Compaq Armada 110. Is there any
> way to know which hardware does it has in order to recompile
> kernel? or maybe a web where I can find it.
You can often run 'lspci' to find out what hardware a modern computer
has. When I build kernels these days, I generally select the
most appropriate processor model, and build APM, IDE hard disk
support, and ext3fs support into the kernel and pretty much everything
else as modules. It does help a little if you know what you're
building modules for, but if it's entirely hit-and-miss building lots
of modules makes it easier to change from the wrong driver to the
(The logical extreme of this approach is the Debian stock kernels,
BTW; you might try just using one of those.)
> I want to do so because it goes really slow (700Mhz!!!) and I
> think it is because of lack of optimitzation.
What, in particular, do you think is slow? If you're doing intensive
signal-processing tasks on your laptop, then yeah, optimization for
the last couple of cycles is going to make a difference. But you're
probably not doing that, particularly on a laptop. Otherwise,
consensus on the Debian lists is generally that spending human time on
rebuilding things with "better optimization flags" doesn't gain enough
to be worthwhile.
(...and 700 MHz is probably your CPU speed; no amount of optimization
is going to change that. My home desktop has a 700 MHz Athlon and
runs fine; when I think things are going slow, it's usually because
I'm trying to get at lots of data on a networked filesystem over a
David Maze firstname.lastname@example.org http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell