918a45a430
This is to measure the laterncy + overhead of sdma packet consumption on p2p. It is Similar with QueueLatency test. What's more, the queue's overhead with different workload show more details. test result on two gfx900. [ RUN ] KFDPerformanceTest.P2POverheadTest [ ] Test (avg. ns) | Size 4 8 16 64 256 1024 [ ] ----------------------------------------------------------------------- [ ] [push] [1 -> 0] 333 148 185 111 148 148 [ ] [push] [1 -> 1] 370 222 333 74 148 111 [ ] [push] [1 -> 2] 333 148 148 148 148 148 [ ] [push] [2 -> 0] 111 333 259 148 148 148 [ ] [push] [2 -> 1] 222 148 185 148 148 148 [ ] [push] [2 -> 2] 222 111 370 111 74 148 [ ] [pull] [1 -> 0] 370 296 296 148 185 148 [ ] [pull] [1 -> 1] 185 333 222 148 222 148 [ ] [pull] [1 -> 2] 222 444 259 148 185 111 [ ] [pull] [2 -> 0] 148 148 148 148 148 148 [ ] [pull] [2 -> 1] 148 148 148 148 148 148 [ ] [pull] [2 -> 2] 185 148 148 74 222 296 [ ] [push|pull][1 -> 0] 1259 1222 1259 1074 1037 962 [ ] [push|pull][1 -> 1] 1037 1037 1037 740 740 1000 [ ] [push|pull][1 -> 2] 1259 1259 1296 1037 1000 1074 [ ] [push|pull][2 -> 0] 1037 1037 1037 1074 1037 1148 [ ] [push|pull][2 -> 1] 1037 1037 1037 1037 925 1074 [ ] [push|pull][2 -> 2] 666 666 740 740 703 925 [ OK ] KFDPerformanceTest.P2POverheadTest (459 ms) Change-Id: I422263cb52f7ce184f6f1ff4466d04c239fbe9c9 Signed-off-by: xinhui pan <xinhui.pan@amd.com>
134 líneas
4.6 KiB
Plaintext
134 líneas
4.6 KiB
Plaintext
# Permanent exclusions
|
|
# These tests are included for debugging, but are not executed in normal execution on any ASIC:
|
|
#
|
|
# Fragmentation test fails intermittently on different systems (see KFD-344). It
|
|
# stresses memory management in unusual ways by having lots of memory allocated but
|
|
# not mapped, which is not relevant to compute applications over ROCr.
|
|
#
|
|
# CU Masking Linear/Split are not working correctly due to how the HW distributes work over CUs.
|
|
# They are available for testing but are not currently expected to pass on CI/VI/AI.
|
|
PERMANENT_BLACKLIST_ALL_ASICS=\
|
|
"-KFDEventTest.MeasureInterruptConsumption:"\
|
|
"KFDLocalMemoryTest.Fragmentation:"\
|
|
"KFDQMTest.BasicCuMaskingLinear:"\
|
|
"RDMATest.GPUDirect"
|
|
|
|
# This is the temporary blacklist for all ASICs. This is to be used when a test is failing consistently
|
|
# on every ASIC (Kaveri, Carrizo, Hawaii, Tonga, Fiji, Polaris10, Polaris11 and Vega10 .
|
|
# TODO means that a JIRA ticket needs to be created for this issue, as no documentation regarding
|
|
# failures can be found
|
|
# NOTE: If you update this alphabetical listing, add the corresponding JIRA ticket for reference
|
|
#
|
|
# KFDGraphicsInterop.RegisterForeignDeviceMem (KFD-366)
|
|
# KFDPMTest.SuspendWith[ActiveProcess|IdleQueue|IdleQueueAfterWork] (KFD-326|327|328)
|
|
# KFDPNPTest.DisableAndCreateQueue (KFD-329)
|
|
# KFDQMTest.GPUDoorbellWrite fails intermittently (KFD-318)
|
|
# KFDQMTest.mGPUShareBO (KFD-334)
|
|
TEMPORARY_BLACKLIST_ALL_ASICS=\
|
|
"KFDGraphicsInterop.RegisterForeignDeviceMem:"\
|
|
"KFDPMTest.SuspendWithActiveProcess:"\
|
|
"KFDPMTest.SuspendWithIdleQueue:"\
|
|
"KFDPMTest.SuspendWithIdleQueueAfterWork:"\
|
|
"KFDPNPTest.DisableAndCreateQueue:"\
|
|
"KFDQMTest.GPUDoorbellWrite:"\
|
|
"KFDQMTest.mGPUShareBO"
|
|
|
|
BLACKLIST_ALL_ASICS=\
|
|
"$PERMANENT_BLACKLIST_ALL_ASICS:"\
|
|
"$TEMPORARY_BLACKLIST_ALL_ASICS"
|
|
|
|
# SDMA-based tests (KFDIPCTest.BasicTest, KFDQM.*Sdma*, KFDMemoryTest.MMBench) are all
|
|
# disabled on non-Hawaii due to SDMA instability - SWDEV-101666
|
|
SDMA_BLACKLIST=\
|
|
"KFDIPCTest.*:"\
|
|
"KFDMemoryTest.MMBench:"\
|
|
"KFDQMTest.*Sdma*:"\
|
|
"KFDQMTest.P2PTest:"\
|
|
"KFDPerformanceTest.P2PBandWidthTest:"\
|
|
"KFDPerformanceTest.P2POverheadTest"
|
|
|
|
# Anything involving CP queue creation is failing on Kaveri. Separate them here for convenience (KFD-336)
|
|
KV_QUEUE_BLACKLIST=\
|
|
"KFDExceptionTest.InvalidBadAddress:"\
|
|
"KFDExceptionTest.InvalidWriteAddress:"\
|
|
"KFDExceptionTest.InvalidPPR*:"\
|
|
"KFDLocalMemoryTest.*:"\
|
|
"KFDEventTest.Signal*Event*:"\
|
|
"KFDQMTest.CreateQueueStressSingleThreaded:"\
|
|
"KFDQMTest.*CpQueue*:"\
|
|
"KFDQMTest.*Dispatch*:"\
|
|
"KFDQMTest.Atomics:"\
|
|
"KFDQMTest.GPUDoorbellWrite"
|
|
|
|
# KFDQMTest.CpuWriteCoherence fails. 0 dwordsAvailable (KFD-338)
|
|
# KFDMemoryTest.MemoryRegister fails on SDMA queue creation (KFD-337)
|
|
KV_TESTS_BLACKLIST=\
|
|
"$BLACKLIST_ALL_ASICS:"\
|
|
"$SDMA_BLACKLIST:"\
|
|
"$KV_QUEUE_BLACKLIST:"\
|
|
"KFDMemoryTest.MemoryRegister:"\
|
|
"KFDQMTest.CpuWriteCoherence"
|
|
|
|
# KFDLocalMemoryTest.BasicTest is failing intermittently (KFD-368)
|
|
# KFDMemoryTest.BigBufferStressTest was failing intermittently on 4.9 and hangs when executed twice (KFD-312)
|
|
# KFDQMTest.GPUDoorbellWrite fails on Hawaii. Could be HW-related (KFD-342)
|
|
HI_TESTS_BLACKLIST=\
|
|
"$BLACKLIST_ALL_ASICS:"\
|
|
"KFDLocalMemoryTest.BasicTest:"\
|
|
"KFDMemoryTest.BigBufferStressTest:"\
|
|
"KFDQMTest.GPUDoorbellWrite"
|
|
|
|
CZ_TESTS_BLACKLIST=\
|
|
"$BLACKLIST_ALL_ASICS:"\
|
|
"$SDMA_BLACKLIST:"\
|
|
"KFDExceptionTest.InvalidWriteAddress"
|
|
|
|
# KFDPerfCountersTest.*Trace fail (KFD-339)
|
|
# KFDMemoryTest.QueryPointerInfo/MemoryRegister* (KFD-341)
|
|
# The remaining tests listed here fail on map memory to GPU with a VA conflict (KFD-340)
|
|
TONGA_TESTS_BLACKLIST=\
|
|
"$BLACKLIST_ALL_ASICS:"\
|
|
"$SDMA_BLACKLIST:"\
|
|
"KFDCWSRTest.BasicTest:"\
|
|
"KFDEventTest.*:"\
|
|
"KFDLocalMemoryTest.*:"\
|
|
"KFDMemoryTest.FlatScratchAccess:"\
|
|
"KFDMemoryTest.MapMemoryToGPU:"\
|
|
"KFDMemoryTest.MemoryRegister*:"\
|
|
"KFDMemoryTest.QueryPointerInfo:"\
|
|
"KFDPerfCountersTest.*:"\
|
|
"KFDDBGTest.BasicAddressWatch:"\
|
|
"KFDQMTest.*"
|
|
|
|
FIJI_TESTS_BLACKLIST=\
|
|
"$BLACKLIST_ALL_ASICS:"\
|
|
"$SDMA_BLACKLIST"
|
|
|
|
ELLESMERE_TESTS_BLACKLIST=\
|
|
"$BLACKLIST_ALL_ASICS:"\
|
|
"$SDMA_BLACKLIST"
|
|
|
|
BAFFIN_TESTS_BLACKLIST=\
|
|
"$BLACKLIST_ALL_ASICS:"\
|
|
"$SDMA_BLACKLIST"
|
|
|
|
# KFDDBG.BasicAddressWatch is not supported on GFXv9 and later. FIXME: it should disable itself
|
|
VEGA10_TESTS_BLACKLIST=\
|
|
"$BLACKLIST_ALL_ASICS:"\
|
|
"KFDDBGTest.BasicAddressWatch"
|
|
|
|
VEGA20_TESTS_BLACKLIST=\
|
|
"$BLACKLIST_ALL_ASICS:"\
|
|
"KFDDBGTest.BasicAddressWatch:"\
|
|
"KFDExceptionTest.InvalidBadAddress:"\
|
|
"KFDExceptionTest.InvalidWriteAddress:"\
|
|
"KFDQMTest.CreateQueueStressSingleThreaded:"\
|
|
"KFDQMTest.GPUDoorbellWrite:"\
|
|
"KFDMemoryTest.MemoryRegister"
|
|
|
|
RAVEN_TESTS_BLACKLIST=\
|
|
"$BLACKLIST_ALL_ASICS:"\
|
|
"KFDDBGTest.BasicAddressWatch:"\
|
|
"KFDQMTest.QueueLatency:"\
|
|
"KFDQMTest.SdmaEventInterrupt"
|