[#4547] malloc-perf 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

[#4547] malloc-perf test failed for 561 SMP kernel in latest trunk

Submitted By: Vivi Li

Open Date

2008-10-20 02:32:29     Close Date

2008-11-18 05:15:08

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:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

toolchain-2008_Oct_10

App binary format:

N/A     

Summary: malloc-perf test failed for 561 SMP kernel in latest trunk

Details:

 

malloc-perf test failed for 561 SMP kernel in latest trunk.

Bellow is the log.

 

--

Linux version 2.6.26.5-ADI-2009R1-pre-svn5444-dirty (test@uclinux65-561-SMP) (gcc version 4.1.2 (AD8

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Warning: limiting memory to 56MB due to hardware anomaly 05000263

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0010cb20

  rodata    = 0x0010cb20-0x0015b828

  bss       = 0x0015b840-0x0016b114

  data      = 0x0016b120-0x0017e000

    stack   = 0x0017c000-0x0017e000

  init      = 0x0017e000-0x0048d000

  available = 0x0048d000-0x037ff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Reset caused by Software reset

Blackfin support (C) 2004-2008 Analog Devices, Inc.

Compiled for ADSP-BF561 Rev 0.3

Warning: Compiled for Rev 3, but running on Rev 5

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 600 MHz core clock and 50 MHz System Clock

boot memmap: 000000000048d000 - 00000000037ff000 (usable)

On node 0 totalpages: 14335

  DMA zone: 112 pages used for memmap

  DMA zone: 0 pages reserved

  DMA zone: 14223 pages, LIFO batch:3

  Normal zone: 0 pages used for memmap

  Movable zone: 0 pages used for memmap

NOMPU: setting up cplb tables for global access

NOMPU: setting up cplb tables for global access

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-through)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 14223

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50:10.100.4.f

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

console handover: boot [early_BFuart0] -> real [ttyBF0]

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Kernel managed physical pages: 14335

Memory available: 52072k/65536k RAM, (3132k init code, 1070k kernel code, 454k data, 1024k dma, 778)

Calibrating delay loop... 1183.74 BogoMIPS (lpj=2367488)

Security Framework initialized

Mount-cache hash table entries: 512

CoreB bootstrap code to SRAM ff600000 via DMA.

Booting Core B.

Instruction Cache Enabled for CPU1

Data Cache Enabled for CPU1 (write-through)

PDA for CPU1 reserved at ff700000

Calibrating delay loop... 1167.36 BogoMIPS (lpj=2334720)

Brought up 2 CPUs

SMP: Total of 2 processors activated (1167.36 BogoMIPS).

Blackfin Scratchpad data SRAM: 4 KB

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (16 KB free)

Blackfin L1 Data A SRAM: 16 KB (16 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 16 KB (15 KB free)

Blackfin L1 Instruction SRAM: 16 KB (15 KB free)

Blackfin L2 SRAM: 128 KB (128 KB free)

PDA for CPU0 reserved at ffb00000

net_namespace: 200 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

ezkit_init(): registering device resources

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 2048 (order: 2, 16384 bytes)

TCP bind hash table entries: 2048 (order: 2, 16384 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

NET: Registered protocol family 1

Setting up Blackfin MMR debugfs

msgmni has been set to 101

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 35) is a BFIN-UART

brd: module loaded

smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org>

eth0: SMC91C11xFD (rev 2) at 2c010300 IRQ 82 [nowait]

eth0: Ethernet addr: 00:e0:22:fe:ba:2a

eth0: PHY LAN83C183 (LAN91C111 Internal)

bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500,6

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

TCP cubic registered

NET: Registered protocol family 17

eth0: link down

IP-Config: Complete:

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,

     host=bf561-ezkit, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 3132k freed

dma_alloc_init: dma_page @ 0x0048a000 - 256 pages at 0x03f00000

eth0: link up, 100Mbps, full-duplex, lpa 0x41E1

root:/>

root:/> malloc-perf

00004k : 0x0040e004  000014 000015 000102

00008k : 0x00424004  000015 000016 000099

00012k : 0x00560004  000015 000016 000099

00016k : 0x00564004  000015 000018 000141

00020k : 0x00430004  000015 000016 000112

00024k : 0x00438004  000015 000023 000752

00028k : 0x031c0004  000016 000018 000115

00032k : 0x031c8004  000093 000096 000169

00036k : 0x031d0004  000095 000106 001189

00040k : 0x031d0004  000095 000106 001186

00044k : 0x031d0004  000095 000098 000182

00048k : 0x031d0004  000095 000106 001166

00052k : 0x031d0004  000095 000097 000171

00056k : 0x031d0004  000096 000108 001247

00060k : 0x031d0004  000095 000107 001197

00064k : 0x031d0004  000095 000098 000199

00068k : 0x031e0004  000101 000113 001190

00072k : 0x031e0004  000101 000110 000837

00076k : 0x031e0004  000101 000105 000189

00080k : 0x031e0004  000101 000104 000186

00084k : 0x031e0004  000101 000104 000180

00088k : 0x031e0004  000103 000106 000332

00092k : 0x031e0004  000102 000113 001204

00096k : 0x031e0004  000101 000104 000190

00100k : 0x031e0004  000101 000105 000193

00104k : 0x031e0004  000101 000103 000180

00108k : 0x031e0004  000101 000104 000195

00112k : 0x031e0004  000101 000104 000191

00116k : 0x031e0004  000101 000111 000829

00120k : 0x031e0004  000102 000113 001191

00124k : 0x031e0004  000102 000114 001241

00128k : 0x031e0004  000101 000104 000190

00256k : 0x00300004  000104 000116 001224

00384k : 0x00300004  000122 000134 001226

00512k : 0x00300004  000122 000133 001257

00640k : 0x00300004  000162 000166 000249

00768k : 0x00300004  000162 000173 000582

00896k : 0x00300004  000162 000166 000252

01024k : 0x00300004  000162 000167 000241

TEST FAIL

root:/>

--

 

Follow-ups

 

--- Graf Yang                                                2008-10-21 04:52:54

I can't duplicate this issue. Maybe out of date?

 

--- Vivi Li                                                  2008-10-22 03:57:56

This case still fails in the test machine.

 

--- Graf Yang                                                2008-11-14 04:25:51

I have add a parameter to malloc-perf to give the desired performance value.

For UP kernel, you can directly run malloc-perf, or 'malloc-perf 100'

For SMP case, you can relax the desired performance, for example, 'malloc-perf

120'

 

--- Graf Yang                                                2008-11-18 05:08:57

Because SMP are software cache coherency, it's threshold may exceed 100, I

recommend to use 120. Now can close it.

 

--- Vivi Li                                                  2008-11-18 05:15:08

OK, I have modified the test script and it works all right now.

So close this bug.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes