[#4792] telnet to target response slower

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

[#4792] telnet to target response slower

Submitted By: Mingquan Pan

Open Date

2009-01-09 06:53:55     Close Date

2009-01-14 01:12:44

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

Nov 11

App binary format:

N/A     

Summary: telnet to target response slower

Details:

 

telnet to target response sometimes quite slow when doing ls command (one in seven times), and sometimes it can't smoothly input a long command like ping 10.100.4.50,but the ping process looks ok.

 

root:~> dmesg

Linux version 2.6.28-ADI-2009R1-pre-svn5978 (test@uclinux54-adv7393-ad1981-usb1362) (gcc version 4.1.2 (ADI svn)) #108 Fri Jan 9 19:18:50 CST 2009

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-0x0010a4d0

  rodata    = 0x0010a4d0-0x0015c810

  bss       = 0x0015c810-0x0016b2b0

  data      = 0x0016b2b0-0x0017c000

    stack   = 0x0017a000-0x0017c000

  init      = 0x0017c000-0x0064c000

  available = 0x0064c000-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-BF537 Rev 0.2

Blackfin Linux support by   blackfin.uclinux.org/

Processor Speed: 500 MHz core clock and 100 MHz System Clock

boot memmap: 000000000064c000 - 00000000037ff000 (usable)

On node 0 totalpages: 14335

free_area_init_node: node 0, pgdat 001784b4, node_mem_map 00651000

  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

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.174:10.100.4.174:255.255.255.0:BF537:eth0:off

Configuring Blackfin Priority Driven Interrupts

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

bfin-rtc: invalid date; resetting

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: 50312k/65536k RAM, (4928k init code, 1061k kernel code, 455k data, 1024k dma, 7756k reserved)

Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)

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 (41 KB free)

PDA for CPU0 reserved at 0015d8f8

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin GPIO Controller

Blackfin DMA Controller

stamp_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: 1, 8192 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 98

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 = 18) is a BFIN-UART

brd: module loaded

bfin_mac_mdio: probed

bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=19)@sclk=100MHz)

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

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)

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 1970-01-01 00:00:01 UTC (1)

IP-Config: Complete:

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

     host=BF537, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 4928k freed

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

PHY: 0:01 - Link is Up - 100/Full

root:~> ifconfig

eth0      Link encap:Ethernet  HWaddr 00:E0:22:FE:47:C0

          inet addr:10.100.4.50  Bcast:10.100.4.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:1875 errors:0 dropped:0 overruns:0 frame:0

          TX packets:1518 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:210880 (205.9 KiB)  TX bytes:272131 (265.7 KiB)

 

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

 

on host:

test@uclinux54-adv7393-ad1981-usb1362:~/work/cruise/checkouts/uclinux-dist/testsuites/stress> telnet 10.100.4.50

Trying 10.100.4.50...

Connected to 10.100.4.50.

Escape character is '^]'.

 

 

BusyBox v1.13.2 (2009-01-09 19:11:09 CST) built-in shell (msh)

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

 

root:/> ls

bin   etc   init  mnt   root  sys   usr

dev   home  lib   proc  sbin  tmp   var

root:/> ls

bin   etc   init  mnt   root  sys   usr

dev   home  lib   proc  sbin  tmp   var

root:/> ls

bin   etc   init  mnt   root  sys   usr

dev   home  lib   proc  sbin  tmp   var

root:/> ls

bin   etc   init  mnt   root  sys   usr

dev   home  lib   proc  sbin  tmp   var

root:/> ls

bin   etc   init  mnt   root  sys   usr

dev   home  lib   proc  sbin  tmp   var

root:/> ls                                        

root:/> ls

bin   etc   init  mnt   root  sys   usr

dev   home  lib   proc  sbin  tmp   var

root:/> ping 10.100.4.50

PING 10.100.4.50 (10.100.4.50): 56 data bytes

64 bytes from 10.100.4.50: seq=0 ttl=64 time=4.000 ms

64 bytes from 10.100.4.50: seq=1 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=2 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=3 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=4 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=5 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=6 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=7 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=8 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=9 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=10 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=11 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=12 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=13 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=14 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=15 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=16 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=17 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=18 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=19 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=20 ttl=64 time=0.000 ms

64 bytes from 10.100.4.50: seq=21 ttl=64 time=0.000 ms

^C

--- 10.100.4.50 ping statistics ---

22 packets transmitted, 22 packets received, 0% packet loss

round-trip min/avg/max = 0.000/0.181/4.000 ms

 

Follow-ups

 

--- Mingquan Pan                                             2009-01-14 01:12:44

Fixed. Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes