Script Detection of Processor Architecture
Larry Lindsey
gtg306b at prism.gatech.edu
Fri Jun 2 23:21:48 CEST 2006
Quoting Anders Jackson <anders.jackson at hig.se>:
> tis 2006-05-23 klockan 16:18 -0400 skrev Larry Lindsey:
> > I have kernels compiled for p3, p3-smp, p4, p4-smp, 586mmx, k8, and k8-smp.
>
> I realy don't think that there are any major performances gain by this,
> if you look at operating system. Have seen some benchmarks (on mailing
> lists about Debian prepacked kernels v Customized kernels), but I don't
> have any to give you here. Could be a small difference on your setup,
> but without benchmarks showing otherwise for your problem, I wouldn't
> bother.
For the typical application, the performance gain isn't enough to really be
concerned with, however, these are all kernels targetted at a real-time
experimentation environment, where a performance gain of even a few percent is
significant.
In any case, I wrote a script that looks at the cpu flags, and is able to detect
the processor class with a fair amount of accuracy.
Thanks for all of the help,
Larry
More information about the linux-fai
mailing list