All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas O <andreas2025@gmail.com>
To: netdev@vger.kernel.org
Subject: "tm->when" at /proc/net/tcp shows some negative numbers.
Date: Mon, 11 Jul 2011 17:47:18 +0100	[thread overview]
Message-ID: <CAAVaN8wcu+=p9sD76s7m3=M6hqPScOsq3WPJmAN5TBp4fAoLGQ@mail.gmail.com> (raw)

Dear devnet list,

I am doing some performance improvements on  linux-2.6.33.15 with
real-time support. When my tests fails I observe that "tm->when" at
/proc/net/tcp shows
some negative numbers. That negative number is the difference  of
"timer_expires - jeffies" and in this case timer_expires is smaller
than jiffies.
Does this negative number indicates a bug in the stack?


from /proc/net/tcp

  sl  local_address rem_address   st tx_queue rx_queue tr tm->when
retrnsmt   uid  timeout inode

   0: 0100007F:09A4 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 11905 1 ffff88057b9df9c0 300 0 0 2 -1
   1: 00000000:1BC7 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 14746 1 ffff880579bfac80 300 0 0 2 -1
   2: 0100007F:00C7 00000000:0000 0A 00000000:00000000 00:00000000
00000000     0        0 11734 1 ffff88097a7980c0 300 0 0 2 -1
   3: 00000000:078F 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 14733 1 ffff880974e9acc0 300 0 0 2 -1
   4: 00000000:2710 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 14748 1 ffff88097385e740 300 0 0 2 -1
   5: 00000000:0050 00000000:0000 0A 00000000:00000000 02:0000000E
00000000   499        0 14732 2 ffff88097933d980 300 0 0 2 -1
   6: 14041AAC:0050 FE081AAC:93FD 03 00000000:00000000
01:FFFFFFFFFFFFFFE2 00000000   499        0 0 2 ffff8804dc549dc0
   7: 14041AAC:0050 FA081AAC:B0E0 03 00000000:00000000
01:FFFFFFFFFFFFFFE2 00000000   499        0 0 2 ffff880524d79e40
   8: 14041AAC:0050 F2011AAC:E53F 03 00000000:00000000
01:FFFFFFFFFFFFFFE4 00000000   499        0 0 2 ffff880524d7ccc0
   9: 14041AAC:0050 F2011AAC:C73F 03 00000000:00000000
01:FFFFFFFFFFFFFFE5 00000000   499        0 0 2 ffff880524d5ba40
  10: 14041AAC:0050 FB011AAC:D89A 03 00000000:00000000
01:FFFFFFFFFFFFFFE1 00000000   499        0 0 2 ffff8804a9290b40
  11: 14041AAC:0050 F2011AAC:C9CD 03 00000000:00000000
01:FFFFFFFFFFFFFFE4 00000000   499        0 0 2 ffff8804e6c9af40
  12: 14041AAC:0050 FE081AAC:8EC9 03 00000000:00000000
01:FFFFFFFFFFFFFFE2 00000000   499        0 0 2 ffff8804dc59d940
  13: 14041AAC:0050 FE081AAC:E7C0 03 00000000:00000000
01:FFFFFFFFFFFFFFE2 00000000   499        0 0 2 ffff8804dc798840

  sl  local_address rem_address   st tx_queue rx_queue tr tm->when
retrnsmt   uid  timeout inode
   0: 0100007F:09A4 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 11905 1 ffff88057b9df9c0 300 0 0 2 -1
   1: 00000000:1BC7 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 14746 1 ffff880579bfac80 300 0 0 2 -1
   2: 0100007F:00C7 00000000:0000 0A 00000000:00000000 00:00000000
00000000     0        0 11734 1 ffff88097a7980c0 300 0 0 2 -1
   3: 00000000:078F 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 14733 1 ffff880974e9acc0 300 0 0 2 -1
   4: 00000000:2710 00000000:0000 0A 00000000:00000000 00:00000000
00000000   499        0 14748 1 ffff88097385e740 300 0 0 2 -1
   5: 00000000:0050 00000000:0000 0A 00000000:00000000 02:00000009
00000000   499        0 14732 2 ffff88097933d980 300 0 0 2 -1
   6: 14041AAC:0050 FE081AAC:93FD 03 00000000:00000000
01:FFFFFFFFFFFFFFB5 00000000   499        0 0 2 ffff8804dc549dc0
   7: 14041AAC:0050 FA081AAC:B0E0 03 00000000:00000000
01:FFFFFFFFFFFFFFB5 00000000   499        0 0 2 ffff880524d79e40
   8: 14041AAC:0050 F2011AAC:E53F 03 00000000:00000000
01:FFFFFFFFFFFFFFB7 00000000   499        0 0 2 ffff880524d7ccc0
   9: 14041AAC:0050 F2011AAC:C73F 03 00000000:00000000
01:FFFFFFFFFFFFFFB8 00000000   499        0 0 2 ffff880524d5ba40
  10: 14041AAC:0050 FB011AAC:D89A 03 00000000:00000000
01:FFFFFFFFFFFFFFB4 00000000   499        0 0 2 ffff8804a9290b40
  11: 14041AAC:0050 F2011AAC:C9CD 03 00000000:00000000
01:FFFFFFFFFFFFFFB7 00000000   499        0 0 2 ffff8804e6c9af40
  12: 14041AAC:0050 FE081AAC:8EC9 03 00000000:00000000
01:FFFFFFFFFFFFFFB5 00000000   499        0 0 2 ffff8804dc59d940
  13: 14041AAC:0050 F2081AAC:E7BF 03 00000000:00000000
01:FFFFFFFFFFFFFFB7 00000000   499        0 0 2 ffff8804ce339c40


Any ideas?

Kind regards
Andreas

             reply	other threads:[~2011-07-11 16:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-11 16:47 Andreas O [this message]
2011-07-11 17:28 ` "tm->when" at /proc/net/tcp shows some negative numbers Eric Dumazet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAVaN8wcu+=p9sD76s7m3=M6hqPScOsq3WPJmAN5TBp4fAoLGQ@mail.gmail.com' \
    --to=andreas2025@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.