VIOS entstat versus seastat for SEA


 
Thread Tools Search this Thread
Operating Systems AIX VIOS entstat versus seastat for SEA
# 1  
Old 01-16-2017
IBM VIOS entstat versus seastat for SEA

Hello,
I found that the packet counts given by entstat -d SEA is not the same as the total of the packet counts given by seastat -d SEA for the same interval of time.
Do anyone have an explanation for the difference. We recently got a recommendation that the throughput on an SEA should not exceed 250,000 packets/second, and we were wondering which one of the statistics we could monitor between entstat and seastat. Below is an example of the difference in count:

Code:
# lsdev | grep Shared
 ent15          Available             Shared Ethernet Adapter
 ent18          Available             Shared Ethernet Adapter
 # chdev -l ent18 -a accounting=enabled
 ent18 changed

Reset of the stats
Code:
seastat -d ent18 -c
 entstat -r ent18 
 sleep 60; 
 seastat -d ent18 |grep Packets | awk '{ SUM += $2} END { print SUM " packets_Transmit_per_second" }'
 seastat -d ent18|grep Packets | awk '{ SUM += $4} END { print SUM " packets_Receive_per_second" }'
 entstat -d ent18
 RESULTS seastat
1016 packets_Transmit_per_second
1748 packets_Receive_per_second 
   
 RESULTS entstat
 Transmit Statistics:                          Receive Statistics:
 --------------------                          -------------------
 Packets: 3329                                 Packets: 4135
 Bytes: 1938358                                Bytes: 2348071
 Interrupts: 33                                Interrupts: 3229


Last edited by rbatte1; 01-16-2017 at 01:01 PM.. Reason: Added CODE tags
# 2  
Old 02-16-2017
netstat starts counting when the system boots, however sea statistics need to be enabled exclusively. difference between the counters points that sea was enabled after a while system was booted.
# 3  
Old 02-16-2017
Yes niyazi, that is why i both reset the counters for entstat (-r) and seastat (-c) so that to compare if the values match. And they do not math at all.
# 4  
Old 02-16-2017
sorry, i missed that you clear the stats.

so it looks like you have lpar to lpar traffic which does not go through physical network switch. PowerVM is forwarding traffic internally, so seastat counts the packets, however entstat will not count them since they do not actually go over physical interface.
# 5  
Old 02-16-2017
Thank you. That could be a good explanation, however, did you mean the reverse:
i.e
seastat counts only packets going in/out physical interface
while
entstat counts all packets, even those forwarded internally?
Because I see entstat values are higher than seastat values.
# 6  
Old 02-16-2017
seastat output is per second, entstat is total. so you need to multiply seastat output by 60. eventually it will make sense.

ps. by lpar to lpar i mean on the same power machine.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

VIOS IP address - separate vlan for vios servers ?

Hello, Lets say for simplicity that I do not use any vlan config inside my server - one lpar group use hea physical port1, another group hea physical port2. Physical port1 configured as vlan1 on external switch, physical port2 as vlan2. What is the common practice - should I isolate my vios... (0 Replies)
Discussion started by: vilius
0 Replies

2. AIX

Configure VIOS SEA w. load sharing

I am trying to install a VIOS pair with a load-sharing SEA adapter, following this recipe from Developerworks. Without load-sharing everything went fine and worked as expected, but somehow i am a bit lost and the first tries with "ha_mode=sharing" didn't work at all. Here is the situation: I... (6 Replies)
Discussion started by: bakunin
6 Replies

3. AIX

How to set 4 SEA on single VIOS

Hi experts, i got a 4-port Adapter card on VIOS and would like to configure 4SEA for 4 difference segment IP client's LPAR use, first SEA succeed to be configured on ent0 but once second SEA configured, first SEA fail to be connected. Any issues i need to be concerned in order to configure 4 SEA on... (8 Replies)
Discussion started by: polar
8 Replies

4. AIX

entstat output "Receive Errors"

Hi all, We are receiving huge number of "Receive Errors" on our database server on AIX. Any pointers to troubleshoot would be really appreciated. oslevel: AIX 5.3.0.0 ifconfig -a en6: flags=4e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,PSEG,LARGESEND,CHAIN> ... (3 Replies)
Discussion started by: sam_78_nyc
3 Replies

5. AIX

Duplicate MACs in seastat

Why are the MAC addresses duplicated in the "seastat" command output for all the LPARs? I can't figure out why one stanza has the LPAR information (hostname and IP) while the other stanza does not? Why the two separate sections and two separate sets of usage information (Bytes and Packets)?... (1 Reply)
Discussion started by: kah00na
1 Replies

6. AIX

SEA

Hi all, I set up the following configuration on my system: - An LPar with a virtual adapter, first one with a vlan id=703 and id port=13. - The first adapter have to connect to a VIOS in which i configured an SEA. So, the VA is set up on interface ent2, SEA on ent29 (by linking a... (0 Replies)
Discussion started by: idro
0 Replies

7. AIX

VIOS SEA Creation

Hi Guys, I'm getting the below error while trying to create a SEA adapter in VIOS $ mkvdev -sea ent0 -vadapter ent2 -default ent2 -defaultid 1 ... (4 Replies)
Discussion started by: kkeng808
4 Replies

8. AIX

entstat: 0909-003 Unable to connect to device

Hello All, at our client VIOS Server there is shared ethernet adapter ent6, when I run lsattr -El ent6 the output shows real adapter ent1 lsattr -El ent6 accounting disabled Enable per-client accounting of network statistics True ctl_chan ent5 Control Channel... (2 Replies)
Discussion started by: Vit0_Corleone
2 Replies

9. AIX

VIOS SEA on LHEA doesn't work

I am trying to create a SEA on a LHEA port and it gives me error lsdev -Cc adapter: ent0 logical host ethernet port (l-hea) ent1 virtual I/O ethernet adapter mkvdev -sea ent0 -vadapter ent1 -default ent1 -defaultid 199 method error (/usr/lib/methods/cfgsea): Failed to configure SEA... (0 Replies)
Discussion started by: filosophizer
0 Replies

10. UNIX for Dummies Questions & Answers

CTRL+H versus ^? versus BACKSPACE

Hi Gurus! I recently got my shell account (HP UX v11) created by our sysadmin and am having problem deleting with the backspace key. After doing some reading, I believe I need to enter a custom "STTY..." statement in my profile. Can someone please help me with the correct "STTY" sequence... (3 Replies)
Discussion started by: alan
3 Replies
Login or Register to Ask a Question