net-irc/xchat-xsys reports UNKNOWN for the L2 cache size when displaying information read from /proc/cpuinfo. Alphas running the 2.6 kernel have this information available. The key is "L2 cache" and the value is something like "96K, 3-way, 64b line". my /proc/cpuinfo: cpu : Alpha cpu model : EV56 cpu variation : 7 cpu revision : 0 cpu serial number : system type : Miata system variation : 0 system revision : 0 system serial number : cycle frequency [Hz] : 433194125 est. timer frequency [Hz] : 1024.00 page size [bytes] : 8192 phys. address bits : 40 max. addr. space # : 127 BogoMIPS : 858.04 kernel unaligned acc : 364984 (pc=fffffc00005bbc5c,va=fffffc0007ce0c96) user unaligned acc : 4 (pc=120014830,va=1200330d1) platform string : Digital Personal WorkStation 433au cpus detected : 1 L1 Icache : 8K, 1-way, 32b line L1 Dcache : 8K, 1-way, 32b line L2 cache : 96K, 3-way, 64b line L3 cache : 2048K, 1-way, 64b line
(In reply to comment #0) > Alphas running the 2.6 kernel have this information available. I would like to counter this bold statement with the following /proc/cpuinfo from my Alpha development machine: chainsaw@Belfalas ~ $ cat /proc/cpuinfo cpu : Alpha cpu model : EV45 cpu variation : 7 cpu revision : 0 cpu serial number : system type : Sable system variation : 0 system revision : 0 system serial number : ay62423536 cycle frequency [Hz] : 274725274 timer frequency [Hz] : 1024.00 page size [bytes] : 8192 phys. address bits : 34 max. addr. space # : 63 BogoMIPS : 549.72 kernel unaligned acc : 0 (pc=0,va=0) user unaligned acc : 0 (pc=0,va=0) platform string : AlphaServer 2000 4/275 cpus detected : 2 cpus active : 2 cpu active mask : 0000000000000003
> I would like to counter this bold statement Statement retracted after running uname -a, it is running 2.4 (?!). I will add this to the X-Sys development tree tonight.
Long overdue, sorry Thomas :( Added upstream in version 2.1.1 (currently in development), added patch to 2.1.0-r1 ebuild.
The fix works, thanks. alpha stable.