From: Nivedita Singhvi <niv@us.ibm.com>
To: manand@us.ibm.com
Subject: Re: (RFC): SKB Initialization
Date: Wed, 21 Aug 2002 11:42:53 -0700 [thread overview]
Message-ID: <1029955373.3d63df2d7d598@imap.linux.ibm.com> (raw)
> The patch reduces the numer of cylces by 25%
Er, I'm not getting that from just the numbers you show.
The total ave number of cycles in alloc_skb before is approx 268.
Total number of cycles in alloc_skb after is approx 468.
So in order to reduce the total ave number of cycles, you
need __kfree_skb to reduce by more than approx 200. (Since
thats where you moved the code to).
So unless we see the total cycles in __kfree_skb, how
do we know? Or what am I missing?
thanks,
Nivedita
You said:
CPU 0 CPU 1
------ ------
Avg cycles in alloc_skb: 64.05 203.39
Avg cycles in __kfree_skb: 127.54 228.95
------ -------
Total Avg Cycles 191.59 432.34
------ -------
# of times alloc_skb called: 235,478 2,060,422
# of times __kfree_skb called: 2,063,276 232,359
Linux 2.5.25+Skbinit Patch:
--------------------------
CPU 0 CPU 1
----- -----
Avg cycles in alloc skb: 237.21 230.91
# of times alloc_skb called: 1,226,594 1,213,327
next reply other threads:[~2002-08-21 18:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-21 18:42 Nivedita Singhvi [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-08-21 18:07 (RFC): SKB Initialization Mala Anand
2002-08-21 18:16 ` Benjamin LaHaise
2002-08-21 16:59 Mala Anand
2002-08-21 17:10 ` Benjamin LaHaise
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=1029955373.3d63df2d7d598@imap.linux.ibm.com \
--to=niv@us.ibm.com \
--cc=manand@us.ibm.com \
/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.