[#4549] nbench test failed for 561 SMP kernel in latest trunk

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4549] nbench test failed for 561 SMP kernel in latest trunk

Submitted By: Vivi Li

Open Date

2008-10-20 04:01:07     Close Date

2008-10-22 04:37:42

Priority:

Medium     Assignee:

Graf Yang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Rejected

Uboot version or rev.:

    Toolchain version or rev.:

toolchain-2008_Oct_10

App binary format:

N/A     

Summary: nbench test failed for 561 SMP kernel in latest trunk

Details:

 

nbench test failed for 561 SMP kernel in latest trunk. It takes much longer time for SMP kernel to run nbench than kernel without SMP patch.

Bellow is the log.

 

--

cd bin^M

root:/bin> ./nbench^M

^M

BYTEmark* Native Mode Benchmark ver. 2 (10/95)^M

Index-split by Andrew D. Balsa (11/97)^M

Linux/Unix* port by Uwe F. Mayer (12/96,11/97)^M

^M

TEST                : Iterations/sec.  : Old Index   : New Index^M

                    :                  : Pentium 90* : AMD K6/233*^M

--------------------:------------------:-------------:------------^M

NUMERIC SORT        :          291.56  :       7.48  :       2.46^M

STRING SORT         :          1.9754  :       0.88  :       0.14^M

BITFIELD            :      2.1107e+07  :       3.62  :       0.76^M

FP EMULATION        :          4.4256  :       2.12  :       0.49^M

 

Case 1 ...FAIL

--

 

Follow-ups

 

--- Graf Yang                                                2008-10-21 04:10:03

run nbench without SMP patch: take 7'47''

root:/> date;nbench ;date                                                  

  

Mon Jan  1 00:20:11 UTC 2007                                                  

 

                                                                              

 

BYTEmark* Native Mode Benchmark ver. 2 (10/95)                                

 

Index-split by Andrew D. Balsa (11/97)                                        

 

Linux/Unix* port by Uwe F. Mayer (12/96,11/97)                                

 

                                                                              

 

TEST                : Iterations/sec.  : Old Index   : New Index              

 

                    :                  : Pentium 90* : AMD K6/233*            

 

--------------------:------------------:-------------:------------            

 

NUMERIC SORT        :            86.2  :       2.21  :       0.73             

 

STRING SORT         :          3.8159  :       1.71  :       0.26             

 

BITFIELD            :      2.1624e+07  :       3.71  :       0.77             

 

FP EMULATION        :          6.9252  :       3.32  :       0.77             

 

FOURIER             :          26.841  :       0.03  :       0.02             

 

ASSIGNMENT          :          1.6328  :       6.21  :       1.61             

 

IDEA                :          291.72  :       4.46  :       1.32             

 

HUFFMAN             :          111.37  :       3.09  :       0.99             

 

NEURAL NET          :        0.030809  :       0.05  :       0.02             

 

LU DECOMPOSITION    :          1.0534  :       0.05  :       0.04             

 

==========================ORIGINAL BYTEMARK RESULTS==========================

INTEGER INDEX       : 3.268                                                   

 

FLOATING-POINT INDEX: 0.044                                                   

 

Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0     

 

==============================LINUX DATA BELOW=============================== 

 

CPU                 : Analog Devices ADSP-BF561 600(MHz CCLK) 100(MHz SCLK)

(mpz

L2 Cache            : 16 KB(L1 icache) 32 KB(L1 dcache-wt) 0 KB(L2 cache)     

 

OS                  : Linux 2.6.26.5-ADI-2009R1-pre                           

 

C compiler          : bfin-uclinux-gcc                                        

 

libc                : static                                                  

 

MEMORY INDEX        : 0.691                                                   

 

INTEGER INDEX       : 0.923                                                   

 

FLOATING-POINT INDEX: 0.024                                                   

 

Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38  

 

* Trademarks are property of their respective holder.                         

 

Mon Jan  1 00:27:58 UTC 2007

 

 

run nbench with SMP patch: take 7'53''

root:/> date;nbench;date                                                   

  

Mon Jan  1 00:08:39 UTC 2007                                                  

 

                                                                              

 

BYTEmark* Native Mode Benchmark ver. 2 (10/95)                                

 

Index-split by Andrew D. Balsa (11/97)                                        

 

Linux/Unix* port by Uwe F. Mayer (12/96,11/97)                                

 

                                                                              

 

TEST                : Iterations/sec.  : Old Index   : New Index              

 

                    :                  : Pentium 90* : AMD K6/233*            

 

--------------------:------------------:-------------:------------            

 

NUMERIC SORT        :          81.535  :       2.09  :       0.69             

 

STRING SORT         :           3.727  :       1.67  :       0.26             

 

BITFIELD            :      2.1271e+07  :       3.65  :       0.76             

 

FP EMULATION        :          6.8147  :       3.27  :       0.75             

 

FOURIER             :          26.288  :       0.03  :       0.02             

 

ASSIGNMENT          :          1.5905  :       6.05  :       1.57             

 

IDEA                :          286.92  :       4.39  :       1.30             

 

HUFFMAN             :          109.38  :       3.03  :       0.97             

 

NEURAL NET          :        0.030003  :       0.05  :       0.02             

 

LU DECOMPOSITION    :          1.0274  :       0.05  :       0.04             

 

==========================ORIGINAL BYTEMARK RESULTS==========================

INTEGER INDEX       : 3.188                                                   

 

FLOATING-POINT INDEX: 0.042                                                   

 

Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0     

 

==============================LINUX DATA BELOW=============================== 

 

CPU                 : Dual Analog Devices ADSP-BF561 600(MHz CCLK) 100(MHz

SCLKz

L2 Cache            : 16 KB(L1 icache) 32 KB(L1 dcache-wt) 0 KB(L2 cache)     

 

OS                  : Linux 2.6.26.5-ADI-2009R1-pre                           

 

C compiler          : bfin-uclinux-gcc                                        

 

libc                : static                                                  

 

MEMORY INDEX        : 0.676                                                   

 

INTEGER INDEX       : 0.899                                                   

 

FLOATING-POINT INDEX: 0.024                                                   

 

Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38  

 

* Trademarks are property of their respective holder.                         

 

Mon Jan  1 00:16:32 UTC 2007

 

 

SMP patched kernel maybe a little slower than without SMP patch kernel, it's

normal.

 

--- Vivi Li                                                  2008-10-22 04:37:42

This bug disappear in latest trunk. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes