Operating System - OpenVMS
1753946 Members
7724 Online
108811 Solutions
New Discussion юеВ

Receive buffer overrun on NIC (OpenVms Alpha 7.3.2)

 
SOLVED
Go to solution
Swee Eng, Yeong
Occasional Advisor

Receive buffer overrun on NIC (OpenVms Alpha 7.3.2)

Due to high traffic rate (TCP/IP), and possibly resource contention, receive buffer overrun was observed on the NIC (network device). Following was shown when running the command:
$mc lancp show dev /internal_counter eia0
--> "28 Receive overrun errors"

Current device min/max receive buffers are as below:
128 Minimum receive buffers
256 Maximum receive buffers

I expect tuning of above should help to reduce the overrun problem, but I couldn't find any recommendation on the tuning i.e. if there's any quota/limitation of what can be set and what's the impact of the increase of the buffer setting.

In addition, other possibility is resource contention. Any suggestion on tuning in this area?

Would appreciate if anyone can enlighten me on above.

Thanks in advance.
- Swee Eng
17 REPLIES 17
Wim Van den Wyngaert
Honored Contributor

Re: Receive buffer overrun on NIC (OpenVms Alpha 7.3.2)

28 is not much. In how much time ?

Wim
Wim
Andy Bustamante
Honored Contributor

Re: Receive buffer overrun on NIC (OpenVms Alpha 7.3.2)


Swee Eng,

As Wim points out, 28 is a trivial figure. I wouldn't be concerned unless this figure was increasing constantly. Increasing the receive buffers with LANCP uses a minimal amount of memory so there's no issue with doubling these if desired.

Do you have a performance issue you're attempting to troubleshoot? If TCPIP is the bulk of your network traffic, are you using the scalable kernel (on an SMP system).

Andy
If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net
Swee Eng, Yeong
Occasional Advisor

Re: Receive buffer overrun on NIC (OpenVms Alpha 7.3.2)

Hi Wim and Andy,

Thanks for the prompt replies.

The overrun errors do increase daily, though not at alarming rate. Unfortunately, the application we developed is using UDP multicast as the data transport, hence, we can't afford even a single overrun. Until we upgrade the application to TCP, we're finding ways to eliminate any possible causes to the UDP message loss.

I need to check if we're using SMP model, but I believe should be with Scalable Kernel (AlphaServer ES45, TCPIP V5.4-15).

Best regards,
Swee Eng
Duncan Morris
Honored Contributor

Re: Receive buffer overrun on NIC (OpenVms Alpha 7.3.2)

Swee Eng,

note that the scalable kernel is not the default with TCPIP V5.4 - you have to enable it by setting

DEFINE/SYSTEM/EXECUTIVE TCPIP$STARTUP_CPU_IMAGES "PERF=ALL"

See the reference:-

http://h71000.www7.hp.com/DOC/732FINAL/TCP_RN/TCP_RNPRO.HTML


Duncan
Volker Halle
Honored Contributor

Re: Receive buffer overrun on NIC (OpenVms Alpha 7.3.2)

Swee Eng,

with TCPIP V5.4, you had to set a logical

$ DEFINE/SYSTEM/EXECUTIVE TCPIP$STARTUP_CPU_IMAGES "PERF=ALL"

for the scaleable kernel to be used. To find out, if you're running a SMP system, just try:

$ SHOW CPU

While you can try to increase the no. of receive buffers with LANCP> SET DEV/MIN_BUFFER=xxx EIA0 and see, if the problem goes away, to really understand this, one needs to find out, what this counter really indicates.

If there is a chance during this week, I'll ask the LAN engineers during the OpenVMS bootcamp...

Greetings from Nashua,

Volker.
Swee Eng, Yeong
Occasional Advisor

Re: Receive buffer overrun on NIC (OpenVms Alpha 7.3.2)

Hi Duncan, and Volker,

Thanks a lot for the add-on information.

Just confirmed we didn't turn on the Scalable Kernel. I'll turn it on and see any improvement.

As for the SMP, following displayed using 'show cpu':
AlphaServer ES45 Model 2B
(there're 4 CPUs).

Any idea if model 2B == SMP?

Best Regards,
SweeEng




Oberwagner
New Member

Re: Receive buffer overrun on NIC (OpenVms Alpha 7.3.2)

Swee Eng,

Model 2B does not specify SMP

There are ES45 Models 1,2 and 3
Model 1 supports maximum of 16GB memory, Model 2,3 maximum of 32GB,
Model 1 has less PCI slots.
see http://h18002.www1.hp.com/alphaserver/download/html/alphaserver_brochure_0704.html

Check for SMP:
$ show cpu/full

and look for
SMP execlet = 3 : Enabled : Streamlined.

which is default for SMP capable systems (2 or more CPUs present).

Regards,
Gerhard
Swee Eng, Yeong
Occasional Advisor

Re: Receive buffer overrun on NIC (OpenVms Alpha 7.3.2)

Hi Gerhard,

Cool! Confirmed the systems are SMP enabled.

However, just recall that we're using TCPWARE instead of UCX. Is TCPWARE using the same OpenVMS TCPIP Services as the underlying? I.e. the Scalable Kernel still applicable? If not, any idea any performance differences in using TCPWARE instead of UCX?

Thanks in advance!

Best regards,
SweeEng
Andy Bustamante
Honored Contributor

Re: Receive buffer overrun on NIC (OpenVms Alpha 7.3.2)


The performance kernel doesn't apply to TCPware. You can start by upping the buffers in LANCP. Another point to check is

$show mem/pool/full

Look for increases, a change from original to current size. If you're seeing growth, you might consider using autogen to tune the system. This may or may not have an impact.

Andy
If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net