[#4745] http(s) speed slow on bf527

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

[#4745] http(s) speed slow on bf527

Submitted By: Mingquan Pan

Open Date

2008-12-23 02:05:35     Close Date

2009-01-19 23:32:27

Priority:

Medium     Assignee:

Michael Hennerich

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

09r1

Category:

N/A     Board:

N/A

Processor:

BF527     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

Nov 11

App binary format:

N/A     

Summary: http(s) speed slow on bf527

Details:

 

http(s) speed slow on bf527 from Dec 19.

Pound test case can't finish.

 

Loading .text @ 0x00001000 (1196192 bytes)

Loading .rodata @ 0x001250a0 (299732 bytes)

Loading .init.rodata @ 0x0016e374 (156 bytes)

Loading __ksymtab @ 0x0016e410 (16528 bytes)

Loading __ksymtab_gpl @ 0x001724a0 (5752 bytes)

Loading __ksymtab_strings @ 0x00173b18 (50054 bytes)

Loading __init_rodata @ 0x0017fea0 (172 bytes)

Loading __param @ 0x0017ff4c (640 bytes)

Clearing .bss @ 0x001801d0 (61472 bytes)

Loading .data @ 0x0018f1f0 (69136 bytes)

Loading .init.text @ 0x001a0000 (101372 bytes)

Loading .init.data @ 0x001b8bfc (20708 bytes)

Loading .init.setup @ 0x001bdce0 (612 bytes)

Loading .initcall.init @ 0x001bdf44 (656 bytes)

Loading .con_initcall.init @ 0x001be1d4 (4 bytes)

Loading .init.ramfs @ 0x001be1d8 (3354084 bytes)

Loading .text_l1 @ 0xffa00000 (5200 bytes)

sh_addr: FFA00000, p_paddr: 004F0FBC

Loading from: 024E2000 to 004F0FBC, size: 5200

Loading .data_l1 @ 0xff800000 (192 bytes)

sh_addr: FF800000, p_paddr: 004F240C

Loading from: 024E4000 to 004F240C, size: 192

## Starting application at 0x001ad500 ...

Linux version 2.6.28-rc2-ADI-2009R1-pre-svn5898 (test@uclinux60-bf527-std) (gcc version 4.1.2 (ADI svn)) #8 Sat Dec 20 00:52:57 CST 2008

console [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x001250a0

  rodata    = 0x001250a0-0x001801cc

  bss       = 0x001801d0-0x0018f1f0

  data      = 0x0018f1f0-0x001a0000

    stack   = 0x0019e000-0x001a0000

  init      = 0x001a0000-0x004f3000

  available = 0x004f3000-0x03eff000

  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-BF527 Rev 0.0

ERROR: Not running on ADSP-BF527: unknown CPUID 0x27e0 Rev 0.0

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 525 MHz core clock and 131 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-through)

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

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf527-ezkit:eth0:off

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)

Memory available: 58860k/65536k RAM, (3404k init code, 1168k kernel code, 492k data, 1024k dma, 584k reserved)

Calibrating delay loop... 1046.52 BogoMIPS (lpj=2093056)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

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

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

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)

PDA for CPU0 reserved at 00181100

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_init(): registering device resources

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

musb_hdrc: version 6.0, pio, host, debug=0

musb_hdrc: USB Host mode controller at ffc03800 using PIO, IRQ 59

musb_hdrc musb_hdrc.0: MUSB HDRC host driver

musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

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: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

NET: Registered protocol family 1

msgmni has been set to 114

io scheduler noop registered

io scheduler anticipatory registered (default)

io scheduler cfq registered

bfin-t350mcqb: 320x240 24-bit RGB FrameBuffer initializing...

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

bfin-otp: initialized

Serial: Blackfin serial driver

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

brd: module loaded

bfin_mac_mdio: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_clk=2500000Hz(mdc_div=25)@sclk=131MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

m25p80 spi0.1: m25p16 (2048 Kbytes)

Creating 2 MTD partitions on "m25p80":

0x00000000-0x00040000 : "bootloader(spi)"

0x00040000-0x00200000 : "linux kernel(spi)"

bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

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

usbcore: registered new interface driver usbhid

usbhid: v2.6:USB HID core driver

TCP cubic registered

NET: Registered protocol family 17

hid_zpff: Unknown symbol _input_ff_create_memless

rtc-bfin rtc-bfin: setting system clock to 2004-05-31 14:43:22 UTC (1086014602)

usb 1-1: new high speed USB device using musb_hdrc and address 2

usb 1-1: configuration #1 chosen from 1 choice

IP-Config: Complete:

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

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

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 3404k freed

                           _____________________________________

        a8888b.           / Welcome to the uClinux distribution \

       d888888b.         /       _     _                         \

       8P"YP"Y88        /       | |   |_|            __  __ (TM)  |

       8|o||o|88  _____/        | |    _ ____  _   _ \ \/ /       |

       8'    .88       \        | |   | |  _ \| | | | \  /        |

       8`._.' Y8.       \       | |__ | | | | | |_| | /  \        |

      d/      `8b.       \      \____||_|_| |_|\____|/_/\_\       |

     dP   .    Y8b.       \   For embedded processors including   |

    d8:'  "  `::88b        \    the Analog Devices Blackfin      /

   d8"         'Y88b        \___________________________________/

  :8P    '      :888

   8a.   :     _a88P         For further information, check out:

._/"Yaa_:   .| 88P|            -   blackfin.uclinux.org/

\    YP"    `| 8P  `.          -   docs.blackfin.uclinux.org/

/     \.___.d|    .'           -   www.uclinux.org/

`--..__)8888P`._.'  jgs/a:f    -   www.analog.com/blackfin

 

Have a lot of fun...

 

 

BusyBox v1.13.1 (2008-12-19 20:42:28 CST) built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/>

************** STEP 4: Start testing.

 

ls /etc/pound/mycert.pem

/etc/pound/mycert.pem

root:/> ls /usr/local/etc/pound.cfg

/usr/local/etc/pound.cfg

root:/> ifconfig eth0 10.100.4.50

root:/> PHY: 0:03 - Link is Up - 100/Full

boa -c /etc &

[31/May/2004:14:43:28 +0000] boa: server version Boa/0.94.14rc21

[31/May/2004:14:43:28 +0000] boa: server built Dec 19 2008 at 20:42:53.

[31/May/2004:14:43:28 +0000] boa: starting server pid=217, port 80

216

root:/> pound &

218

root:/> ps aux

  PID USER       VSZ STAT COMMAND

    1 root       108 S    /init

    2 root         0 SW<  [kthreadd]

    3 root         0 SW<  [ksoftirqd/0]

    4 root         0 SW<  [watchdog/0]

    5 root         0 SW<  [events/0]

    6 root         0 SW<  [khelper]

   50 root         0 SW<  [kblockd/0]

   61 root         0 SW<  [khubd]

   88 root         0 SW   [pdflush]

   89 root         0 SW   [pdflush]

   90 root         0 SW<  [kswapd0]

   91 root         0 SW<  [aio/0]

  136 root         0 SW<  [mtdblockd]

  138 root         0 SW<  [bfin-spi.0]

  154 root         0 SW<  [hid_compat/0]

  208 root       504 R    -/bin/sh

  209 root        40 S    /sbin/inetd

  210 root       400 S    /sbin/syslogd -n

  211 root       396 S    /sbin/klogd -n

  212 root        32 S    /bin/watchdogd -f -s

  216 root       208 D    boa -c /etc

  217 root       208 S    boa -c /etc

  218 root      1692 S    pound

  219 root      1692 S    pound

  220 root      1692 S    pound

  221 roADI ucLinux Group

https://10.100.4.50/test

rcp -rp ../test root@10.100.4.50:/home/httpd/

rcp ok! Start webserver test.

Try 0

    /index.html   ----OK!

Try 0

    /BlackfinUboot.htm   ----OK!

Try 0

    /BlackfinuClinux.htm   ----OK!

Try 1

    /index.html   ----OK!

Try 1

    /BlackfinUboot.htm   ----OK!

Try 1

    /BlackfinuClinux.htm   ----OK!

Try 2

    /index.html   ----OK!

Try 2

    /BlackfinUboot.htm   ----OK!

Try 2

    /BlackfinuClinux.htm   ----OK!

Try 3

    /index.html   ----OK!

Try 3

    /BlackfinUboot.htm   ----OK!

Try 3

    /BlackfinuClinux.htm   ----OK!

Try 4

    /index.html   ----OK!

Try 4

    /BlackfinUboot.htm   ----OK!

Try 4

    /BlackfinuClinux.htm   ----OK!

Try 5

    /index.html   ----OK!

Try 5

    /BlackfinUboot.htm   ----OK!

Try 5

    /BlackfinuClinux.htm   ----OK!

Try 6

    /index.html   ----OK!

Try 6

    /BlackfinUboot.htm   ----OK!

Try 6

    /BlackfinuClinux.htm   ----OK!

Try 7

    /index.html   ----OK!

Try 7

    /BlackfinUboot.htm   ----OK!

Try 7

    /BlackfinuClinux.htm   ----OK!

Try 8

    /index.html   ----OK!

Try 8

    /BlackfinUboot.htm   ----OK!

Try 8Try 190^M

    /index.html   ----OK!^M

Try 190^M

pound test fail to exit.

Case 1 ...FAIL

 

Case 1 ...FAIL

 

POUND TEST FAIL

POUND TEST ............[FAIL]

 

if do ping during this time, I get:

test@uclinux60-bf527-std:~/work/cruise/test_scripts/uclinux-dist/logs> ping 10.100.4.50

PING 10.100.4.50 (10.100.4.50) 56(84) bytes of data.

64 bytes from 10.100.4.50: icmp_seq=1 ttl=64 time=0.194 ms

64 bytes from 10.100.4.50: icmp_seq=4 ttl=64 time=0.153 ms

64 bytes from 10.100.4.50: icmp_seq=5 ttl=64 time=0.140 ms

64 bytes from 10.100.4.50: icmp_seq=6 ttl=64 time=0.143 ms

64 bytes from 10.100.4.50: icmp_seq=7 ttl=64 time=0.138 ms

64 bytes from 10.100.4.50: icmp_seq=8 ttl=64 time=0.139 ms

64 bytes from 10.100.4.50: icmp_seq=12 ttl=64 time=0.146 ms

64 bytes from 10.100.4.50: icmp_seq=13 ttl=64 time=0.154 ms

64 bytes from 10.100.4.50: icmp_seq=14 ttl=64 time=0.154 ms

64 bytes from 10.100.4.50: icmp_seq=16 ttl=64 time=0.148 ms

64 bytes from 10.100.4.50: icmp_seq=17 ttl=64 time=0.151 ms

64 bytes from 10.100.4.50: icmp_seq=18 ttl=64 time=0.139 ms

64 bytes from 10.100.4.50: icmp_seq=19 ttl=64 time=0.294 ms

64 bytes from 10.100.4.50: icmp_seq=21 ttl=64 time=0.144 ms

64 bytes from 10.100.4.50: icmp_seq=22 ttl=64 time=0.158 ms

64 bytes from 10.100.4.50: icmp_seq=25 ttl=64 time=0.146 ms

64 bytes from 10.100.4.50: icmp_seq=26 ttl=64 time=0.144 ms

64 bytes from 10.100.4.50: icmp_seq=29 ttl=64 time=0.147 ms

64 bytes from 10.100.4.50: icmp_seq=30 ttl=64 time=0.144 ms

64 bytes from 10.100.4.50: icmp_seq=32 ttl=64 time=0.335 ms

64 bytes from 10.100.4.50: icmp_seq=34 ttl=64 time=0.142 ms

64 bytes from 10.100.4.50: icmp_seq=35 ttl=64 time=0.253 ms

64 bytes from 10.100.4.50: icmp_seq=36 ttl=64 time=0.200 ms

64 bytes from 10.100.4.50: icmp_seq=46 ttl=64 time=0.207 ms

64 bytes from 10.100.4.50: icmp_seq=50 ttl=64 time=0.216 ms

64 bytes from 10.100.4.50: icmp_seq=59 ttl=64 time=0.160 ms

64 bytes from 10.100.4.50: icmp_seq=64 ttl=64 time=0.131 ms

64 bytes from 10.100.4.50: icmp_seq=67 ttl=64 time=0.135 ms

64 bytes from 10.100.4.50: icmp_seq=78 ttl=64 time=0.177 ms

64 bytes from 10.100.4.50: icmp_seq=79 ttl=64 time=0.158 ms

64 bytes from 10.100.4.50: icmp_seq=88 ttl=64 time=0.173 ms

64 bytes from 10.100.4.50: icmp_seq=91 ttl=64 time=0.163 ms

 

--- 10.100.4.50 ping statistics ---

115 packets transmitted, 32 received, 72% packet loss, time 114269ms

rtt min/avg/max/mdev = 0.131/0.169/0.335/0.048 ms

test@uclinux60-bf527-std:~/work/cruise/test_scripts/uclinux-dist/logs>

 

Follow-ups

 

--- Robin Getz                                               2008-12-23 18:09:27

Isn't this the same thing as 4739?

 

-Robin

 

--- Michael Hennerich                                        2009-01-14 04:27:35

Boa also uses select()

AfterBernd's fix to sys_pselect7

- can you test again?

 

-Michael

 

--- Mingquan Pan                                             2009-01-19 23:32:27

Since then, the case can run to the end within defined time. So close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.pound    application/octet-stream    37639    Mingquan Pan

Attachments

Outcomes