Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137217 - net-irc/xchat-xsys-2.0.9 reports UNKNOWN amount of L2 cache
Summary: net-irc/xchat-xsys-2.0.9 reports UNKNOWN amount of L2 cache
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: Alpha Linux
: Normal minor (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-18 17:37 UTC by Thomas Cort (RETIRED)
Modified: 2006-09-07 21:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Cort (RETIRED) gentoo-dev 2006-06-18 17:37:50 UTC
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
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2006-06-19 01:07:34 UTC
(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
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2006-06-19 01:12:18 UTC
> 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.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2006-09-05 04:44:35 UTC
Long overdue, sorry Thomas :(
Added upstream in version 2.1.1 (currently in development), added patch to 2.1.0-r1 ebuild.
Comment 4 Thomas Cort (RETIRED) gentoo-dev 2006-09-07 21:29:55 UTC
The fix works, thanks.

alpha stable.