RTEMS 4.7.2 On-Line Library
Resource Exhaustion
RTEMS Network Supplement
4.5.2: Resource Exhaustion
- Edit
networkconfig.h
so that the driver is configured with just two receive and transmit descriptors.
- Compile and run the
netdemo
program.
- Verify that the program operates properly and that you can
still telnet to both the ports.
- Display the driver statistics (Console `
s
' command or telnet
`control-G' character) and verify that:
- The number of transmit interrupts is non-zero.
This indicates that all transmit descriptors have been in use at some time.
- The number of missed packets is non-zero.
This indicates that all receive descriptors have been in use at some time.
RTEMS Network Supplement
Copyright © 1988-2004 OAR Corporation