TWSD-599 APV: Enhancing Model Support for F5 IRule Migration to Array APV ePolicy
Review Request #1052 — Created Sept. 10, 2025 and submitted — Latest diff uploaded
| Information | |
|---|---|
| jasonchang | |
| APV10 | |
| rel_apv_10_7_2_5_irule | |
| Reviewers | |
| mingji, timlai, timsu, weikai | |
Issue:
The ATCP thread could become blocked by a time-consuming operation while executing the ePolicy socket function.Fix Details:
A counter-based mechanism was introduced to trigger the ATCP thread to assist adjacent threads with packet reception. Additionally, a lock was added to protect sections where non-thread-safe data is modified.
Result:
As shown in the partial atcp.log below, atcp2 periodically assists atcp3 in receiving packets (and vice versa).
- atcp.log
GMT Wed 10 Sep 2025 06:59:19:atcp2 receive from port 0, queue 0, 32 pkts
GMT Wed 10 Sep 2025 06:59:19:atcp2 receive from port 0, queue 0, 32 pkts
GMT Wed 10 Sep 2025 06:59:19:atcp2 receive from port 0, queue 0, 32 pkts for atcp3
GMT Wed 10 Sep 2025 06:59:19:atcp2 receive from port 0, queue 0, 32 pkts
GMT Wed 10 Sep 2025 06:59:19:atcp2 receive from port 0, queue 0, 32 pkts
GMT Wed 10 Sep 2025 06:59:19:atcp2 receive from port 0, queue 0, 32 pkts
GMT Wed 10 Sep 2025 06:59:19:atcp2 receive from port 0, queue 0, 26 pkts
GMT Wed 10 Sep 2025 06:59:19:atcp2 receive from port 0, queue 0, 32 pkts
GMT Wed 10 Sep 2025 06:59:19:atcp2 receive from port 0, queue 0, 32 pkts
