LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-09-2014, 01:13 AM   #1
debajiet
LQ Newbie
 
Registered: Dec 2014
Posts: 1

Rep: Reputation: Disabled
Packets per core analysis help needed


I have a 12 core CPU, out of which i use 6 core only and all my applications/threads are using those 6 cores only (0 to 5). Now i pump data and i want to analyse how many packets per core is being handled by the system. is there any command that gives number of packets being handled by each core? I tried SAR, not getting it

$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 12
On-line CPU(s) list: 0-11 (number of cores)
 
Old 12-26-2014, 07:12 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
Quote:
Originally Posted by debajiet View Post
is there any command that gives number of packets being handled by each core?
Generally speaking no. (What application? And "packets" of what exactly?) This is because when data transitions from user land to the kernel for processing the kernel efficiently combines ops in any way it sees fit and as ops may be redirected between cores there isn't, as far as I know, a non-invasive, easy way to make the kernel emit such statistics. Depending on what the application is or does, how it shows statistics (or anything in the verbose or debug output you could create stats from) combined with measuring per-core utilization you may be able to somehow divine what you're looking for. Do note however that, kind of Schroedingers Cat-wise, measuring core utilization itself may have an effect on core utilization :-]


//NTLB
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Slur “Open Core”: Toward More Diligent Analysis LXer Syndicated Linux News 0 03-07-2011 12:00 PM
[GDB] Core dump analysis and debug info Accinson Programming 1 10-23-2010 11:32 PM
How are symbols read during core dump analysis? hs_linux Programming 4 07-28-2010 09:29 AM
[SOLVED] Why core dump analysis require a program name? hs_linux Programming 3 07-22-2010 01:55 AM
Automated analysis of core file novice_ Programming 1 06-25-2009 08:26 PM


All times are GMT -5. The time now is 09:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration