[ZT] 龙三的cpuinfo

来源:百度文库 编辑:超级军网 时间:2024/04/28 16:08:21


[ZT] 龙三的cpuinfo

root@guesswhoami:~# cat /proc/cpuinfo
system type             : lemote-fulong
processor               : 0
cpu model               : ICT Loongson-2 V0.5  FPU V0.1
BogoMIPS                : 579.58
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 64
extra interrupt vector  : no
hardware watchpoint     : no
ASEs implemented        :
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 1
cpu model               : ICT Loongson-2 V0.5  FPU V0.1
BogoMIPS                : 579.58
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 64
extra interrupt vector  : no
hardware watchpoint     : no
ASEs implemented        :
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 2
cpu model               : ICT Loongson-2 V0.5  FPU V0.1
BogoMIPS                : 579.58
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 64
extra interrupt vector  : no
hardware watchpoint     : no
ASEs implemented        :
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 3
cpu model               : ICT Loongson-2 V0.5  FPU V0.1
BogoMIPS                : 579.58
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 64
extra interrupt vector  : no
hardware watchpoint     : no
ASEs implemented        :
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available
root@guesswhoami:~# cat /proc/stat
cpu  5625615 152 4427428 49967623 177966 312725 56089 0 0
cpu0 3913559 0 2464644 8378901 16714 312725 55380 0 0
cpu1 1408194 11 1630446 12033856 69138 0 258 0 0
cpu2 111784 116 118072 14864486 47218 0 213 0 0
cpu3 192076 24 214264 14690380 44894 0 237 0 0
intr 167182280 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 15781553 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 111 0 0 0 0 151400616 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ctxt 8012946
btime 943920000
processes 25546
procs_running 2
procs_blocked 0
root@guesswhoami:~# cat /proc/version
Linux version 2.6.27.6 ****** (gcc version 4.4.0  ) #530 SMP


出处: http://www.lemote.com/bbs/viewth ... p;extra=&page=1

[ZT] 龙三的cpuinfo

root@guesswhoami:~# cat /proc/cpuinfo
system type             : lemote-fulong
processor               : 0
cpu model               : ICT Loongson-2 V0.5  FPU V0.1
BogoMIPS                : 579.58
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 64
extra interrupt vector  : no
hardware watchpoint     : no
ASEs implemented        :
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 1
cpu model               : ICT Loongson-2 V0.5  FPU V0.1
BogoMIPS                : 579.58
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 64
extra interrupt vector  : no
hardware watchpoint     : no
ASEs implemented        :
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 2
cpu model               : ICT Loongson-2 V0.5  FPU V0.1
BogoMIPS                : 579.58
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 64
extra interrupt vector  : no
hardware watchpoint     : no
ASEs implemented        :
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 3
cpu model               : ICT Loongson-2 V0.5  FPU V0.1
BogoMIPS                : 579.58
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 64
extra interrupt vector  : no
hardware watchpoint     : no
ASEs implemented        :
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available
root@guesswhoami:~# cat /proc/stat
cpu  5625615 152 4427428 49967623 177966 312725 56089 0 0
cpu0 3913559 0 2464644 8378901 16714 312725 55380 0 0
cpu1 1408194 11 1630446 12033856 69138 0 258 0 0
cpu2 111784 116 118072 14864486 47218 0 213 0 0
cpu3 192076 24 214264 14690380 44894 0 237 0 0
intr 167182280 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 15781553 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 111 0 0 0 0 151400616 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ctxt 8012946
btime 943920000
processes 25546
procs_running 2
procs_blocked 0
root@guesswhoami:~# cat /proc/version
Linux version 2.6.27.6 ****** (gcc version 4.4.0  ) #530 SMP


出处: http://www.lemote.com/bbs/viewth ... p;extra=&page=1
BogoMIPS好像低了点,我的AMD Mobile Sempron 3600+ 低档货单核,BogoMIPS是1600。
spu 发表于 2010-1-7 03:42
BogoMIPS才这么点,难道运行频率667MHz? 太低了吧...
我觉的显示cpu info的软件
除了频率电压步进等数据是实时监测的
其余相当一部分数据可能是调用自带数据库里的资料而已...
所以....
hear00 发表于 2010-1-7 11:12
这不是监测的,是启动的时候linux内核读取的,其中BogoMIPS的用一个简单循环来测试CPU跑循环的速度,以便得到精确的udelay()。
2.6.27.6?
弱弱的问一下 可以等效的579.58*4 ,比2楼说的Sempron 3600+ 好么?

弱弱的问一下 可以等效的579.58*4 ,比2楼说的Sempron 3600+ 好么?
低调做人 发表于 2010-1-7 21:33


单核并行度并不比人家高啊(人家2.0g跑出1600,这边应该是1.0G跑出580吧)
本来效率相同的x4打人家x1,频率至少要到人家的三分之一:D,这边效率更低么
实际要更多
所以还是比较难打的
弱弱的问一下 可以等效的579.58*4 ,比2楼说的Sempron 3600+ 好么?
低调做人 发表于 2010-1-7 21:33


单核并行度并不比人家高啊(人家2.0g跑出1600,这边应该是1.0G跑出580吧)
本来效率相同的x4打人家x1,频率至少要到人家的三分之一:D,这边效率更低么
实际要更多
所以还是比较难打的
不过应当庆祝的是,与原来的等效P4 1.0G相比,现在的差距应该还是在明显缩小的咯?
bogomips中bogo什么意思麻烦查了再喷粪。bogomips可通过查一个预制表根据处理器类型和频率来得到这个值。比如MIPS的处理器的是主频除以2,intel的是主频乘以2,所以你只要做的是mips的处理器,不管你多牛,你哪怕天顶星技术,哪怕你4g频率,你得到的bogomips也才人家p4 1g的得分。

580的bogomips基本就是1g多点的频率,很不错的跨越式发展了。

:b


From Wikipedia, the free encyclopedia

BogoMips (from "bogus" and MIPS) is an unscientific measurement of CPU speed made by the Linux kernel when it boots, to calibrate an internal busy-loop.[1] An oft-quoted definition of the term is "the number of million times per second a processor can do absolutely nothing."[2][3]

BogoMips can be used to see whether it is in the proper range for the particular processor, its clock frequency, and the potentially present CPU cache. It is not usable for performance comparison between different CPUs.[4]

Proper BogoMips ratings

As a very approximate guide, the BogoMips can be pre-calculated by the following table. The given rating is typical for that CPU with the then current and applicable Linux version. The index is the ratio of "BogoMips per clock speed" for any CPU to the same for an Intel 386DX CPU, for comparison purposes.

System  ↓                 Rating  ↓                 Index  ↓
Intel 8088                 clock * 0.004         0.02
Intel/AMD 386SX         clock * 0.14         0.8
Intel/AMD 386DX         clock * 0.18         1 (definition)
Motorola 68030         clock * 0.25         1.4
Cyrix/IBM 486                 clock * 0.34         1.8
Intel Pentium                 clock * 0.40         2.2
Intel 486                         clock * 0.50         2.8
AMD 5x86                 clock * 0.50         2.8
MIPS R4000/R4400                 clock * 0.50         2.8
ARM9                         clock * 0.50         2.8
Motorola 8081                 clock * 0.65         3.6
Motorola 68040         clock * 0.67         3.7
PowerPC 603                 clock * 0.67         3.7
Intel StrongARM         clock * 0.66         3.7
NexGen Nx586         clock * 0.75         4.2
PowerPC 601                 clock * 0.84         4.7
Alpha 21064/21064A         clock * 0.99         5.5
Alpha 21066/21066A         clock * 0.99         5.5
Alpha 21164/21164A         clock * 0.99         5.5
Intel Pentium Pro         clock * 0.99         5.5
Cyrix 5x86/6x86         clock * 1.00         5.6
Intel Pentium II/III         clock * 1.00         5.6
AMD K7/Athlon         clock * 1.00         5.6
Intel Celeron                 clock * 1.00         5.6
Intel Itanium                 clock * 1.00         5.6
R4600         clock * 1.00         5.6    :o
Hitachi SH-4                 clock * 1.00         5.6
Intel Itanium 2         clock * 1.49         8.3
Alpha 21264                 clock * 1.99         11.1
VIA Centaur                 clock * 1.99         11.1
AMD K5/K6/K6-2/K6-III         clock * 2.00         11.1
AMD Duron/Athlon XP         clock * 2.00         11.1
AMD Sempron                 clock * 2.00         11.1
UltraSparc II                 clock * 2.00         11.1
Intel Pentium MMX         clock * 2.00         11.1
Intel Pentium 4         clock * 2.00         11.1
Intel Pentium M         clock * 2.00         11.1
Intel Core Duo         clock * 2.00         11.1
Intel Core 2 Duo         clock * 2.00         11.1
Centaur C6-2                 clock * 2.00         11.1
PowerPC 604/604e/750         clock * 2.00         11.1
Intel Pentium III Xeon         clock * 2.00         11.1
Motorola 68060         clock * 2.01         11.2
Intel Xeon MP (32-bit) (hyper-threading)         clock * 3.97         22.1
IBM S390         not enough data (yet)        
Intel ARM         not enough data (yet)        

With the 2.2.14 Linux kernel, a caching setting of the CPU state was moved from behind to before the BogoMips calculation. Although the BogoMips algorithm itself wasn't changed, from that kernel onward the BogoMips rating for then current Pentium CPUs was twice that of the rating before the change. The changed BogoMips outcome had no effect on real processor performance.

From Wikipedia, the free encyclopedia

BogoMips (from "bogus" and MIPS) is an unscientific measurement of CPU speed made by the Linux kernel when it boots, to calibrate an internal busy-loop.[1] An oft-quoted definition of the term is "the number of million times per second a processor can do absolutely nothing."[2][3]

BogoMips can be used to see whether it is in the proper range for the particular processor, its clock frequency, and the potentially present CPU cache. It is not usable for performance comparison between different CPUs.[4]

Proper BogoMips ratings

As a very approximate guide, the BogoMips can be pre-calculated by the following table. The given rating is typical for that CPU with the then current and applicable Linux version. The index is the ratio of "BogoMips per clock speed" for any CPU to the same for an Intel 386DX CPU, for comparison purposes.

System  ↓                 Rating  ↓                 Index  ↓
Intel 8088                 clock * 0.004         0.02
Intel/AMD 386SX         clock * 0.14         0.8
Intel/AMD 386DX         clock * 0.18         1 (definition)
Motorola 68030         clock * 0.25         1.4
Cyrix/IBM 486                 clock * 0.34         1.8
Intel Pentium                 clock * 0.40         2.2
Intel 486                         clock * 0.50         2.8
AMD 5x86                 clock * 0.50         2.8
MIPS R4000/R4400                 clock * 0.50         2.8
ARM9                         clock * 0.50         2.8
Motorola 8081                 clock * 0.65         3.6
Motorola 68040         clock * 0.67         3.7
PowerPC 603                 clock * 0.67         3.7
Intel StrongARM         clock * 0.66         3.7
NexGen Nx586         clock * 0.75         4.2
PowerPC 601                 clock * 0.84         4.7
Alpha 21064/21064A         clock * 0.99         5.5
Alpha 21066/21066A         clock * 0.99         5.5
Alpha 21164/21164A         clock * 0.99         5.5
Intel Pentium Pro         clock * 0.99         5.5
Cyrix 5x86/6x86         clock * 1.00         5.6
Intel Pentium II/III         clock * 1.00         5.6
AMD K7/Athlon         clock * 1.00         5.6
Intel Celeron                 clock * 1.00         5.6
Intel Itanium                 clock * 1.00         5.6
R4600         clock * 1.00         5.6    :o
Hitachi SH-4                 clock * 1.00         5.6
Intel Itanium 2         clock * 1.49         8.3
Alpha 21264                 clock * 1.99         11.1
VIA Centaur                 clock * 1.99         11.1
AMD K5/K6/K6-2/K6-III         clock * 2.00         11.1
AMD Duron/Athlon XP         clock * 2.00         11.1
AMD Sempron                 clock * 2.00         11.1
UltraSparc II                 clock * 2.00         11.1
Intel Pentium MMX         clock * 2.00         11.1
Intel Pentium 4         clock * 2.00         11.1
Intel Pentium M         clock * 2.00         11.1
Intel Core Duo         clock * 2.00         11.1
Intel Core 2 Duo         clock * 2.00         11.1
Centaur C6-2                 clock * 2.00         11.1
PowerPC 604/604e/750         clock * 2.00         11.1
Intel Pentium III Xeon         clock * 2.00         11.1
Motorola 68060         clock * 2.01         11.2
Intel Xeon MP (32-bit) (hyper-threading)         clock * 3.97         22.1
IBM S390         not enough data (yet)        
Intel ARM         not enough data (yet)        

With the 2.2.14 Linux kernel, a caching setting of the CPU state was moved from behind to before the BogoMips calculation. Although the BogoMips algorithm itself wasn't changed, from that kernel onward the BogoMips rating for then current Pentium CPUs was twice that of the rating before the change. The changed BogoMips outcome had no effect on real processor performance.

bogomips中bogo什么意思麻烦查了再喷粪。bogomips可通过查一个预制表根据处理器类型和频率来得到这个值。比 ...
warz2 发表于 2010-1-8 01:09

龙芯官方网站已经说明了:这个的频率是725M。它是频率没调的龙3,调上去有可能上1.2G。
bogomips中bogo什么意思麻烦查了再喷粪。bogomips可通过查一个预制表根据处理器类型和频率来得到这个值。比 ...
warz2 发表于 2010-1-8 01:09

龙芯官方网站已经说明了:这个的频率是725M。它是频率没调的龙3,调上去有可能上1.2G。
warz2 发表于 2010-1-8 01:09

BogoMIPS是算出来的,贴一下计算的代码(部分)
*/
                loops_per_jiffy >>= 1;
                loopbit = loops_per_jiffy;
                while (lps_precision-- && (loopbit >>= 1)) {
                        loops_per_jiffy |= loopbit;
                        ticks = jiffies;
                        while (ticks == jiffies)
                                /* nothing */;
                        ticks = jiffies;
                        __delay(loops_per_jiffy);
                        if (jiffies != ticks)   /* longer than 1 tick */
                                loops_per_jiffy &= ~loopbit;
                }
printk("%lu.%02lu BogoMIPS (lpj=%lu)\n",
                        loops_per_jiffy/(500000/HZ),
                        (loops_per_jiffy/(5000/HZ)) % 100,
                        loops_per_jiffy);
123456d 发表于 2010-1-8 07:16

求链接
现在龙3架构的bogomips是频率的4/5,比龙2提高过了。

不过我很好奇……
AMD K7/Athlon         clock * 1.00         5.6
AMD Duron/Athlon XP         clock * 2.00         11.1
我还以为K7到雷鸟只是集成了L2,看起来流水线变化也不小嘛。
spu 发表于 2010-1-8 04:47
cavium的mips64的bogomips :-)

Using 700.000 MHz high precision timer.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Memory: 491172k/499712k available (4309k kernel code, 8188k reserved, 3525k data, 14008k init, 0k highmem)
Calibrating delay using timer specific routine.. 1400.47 BogoMIPS (lpj=2800949)
支持国产,支持中国龙!