accel-config/test: set tokens_allowed 0 in profiles for better bandwidth
Tony Zhu
PATCH 1/1 accel-config/test: set tokens_allowed 0 in profiles for better bandwidth
According test tokens_allowed = 8, BW is limited to ~8 GBPS per WQ. Set 0 to remove the limitation.
Signed-off-by Tony Zhu <tony.zhu(a)intel.com>
--- contrib/configs/app_profile.conf | 4 ++-- contrib/configs/os_profile.conf | 2 +- contrib/configs/profilenote.txt | 4 ++++ contrib/configs/storage_profile.conf | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-)
contrib/configs/app_profile.conf +2 -2
@@ -7,7 +7,7 @@ "dev":"group0.0", "tokens_reserved":0, "use_token_limit":0, - "tokens_allowed":8, + "tokens_allowed":0, "grouped_workqueues":[ { "dev":"wq0.0",
@@ -34,7 +34,7 @@ "dev":"group0.1", "tokens_reserved":0, "use_token_limit":0, - "tokens_allowed":8, + "tokens_allowed":0, "grouped_workqueues":[ { "dev":"wq0.1",
contrib/configs/os_profile.conf +1 -1
@@ -7,7 +7,7 @@ "dev":"group0.0", "tokens_reserved":0, "use_token_limit":0, - "tokens_allowed":8, + "tokens_allowed":0, "grouped_workqueues":[ { "dev":"wq0.0",
contrib/configs/profilenote.txt +4 -0
@@ -9,6 +9,7 @@ profile descriptions. - max xfer size=2MB, max batch sz=32, bof=0 - priority 10 - threshold 15 + - tokens_allowed 0 2. app_profile.conf Recommended dsa default application profile.
@@ -17,6 +18,7 @@ profile descriptions. max xfer size=16KB, max batch sz=32, bof=0, threshold=6 - Grp2 - SWQ2(a)32qd, 1eng max xfer size=2MB, max batch sz=32, bof=0, threshold=28 + - tokens_allowed 0 - Use group1 for smaller size ops with better latency characteristics 3. net_profile.conf
@@ -24,6 +26,7 @@ profile descriptions. - 4 groups, each with 1 DWQ(a)32qd/1 eng per group - Each DWQ has max xfer size=16KB - DWQ threshold default 0 + - tokens_allowed 0 4. storage_profile.conf Recommended dsa storage accel profile
@@ -34,3 +37,4 @@ profile descriptions. for throughput ops - targeting SPDK-like uses - DWQ threshold default 0 + - tokens_allowed 0
contrib/configs/storage_profile.conf +2 -2
@@ -7,7 +7,7 @@ "dev":"group0.0", "tokens_reserved":0, "use_token_limit":0, - "tokens_allowed":8, + "tokens_allowed":0, "grouped_workqueues":[ { "dev":"wq0.0",
@@ -34,7 +34,7 @@ "dev":"group0.1", "tokens_reserved":0, "use_token_limit":0, - "tokens_allowed":8, + "tokens_allowed":0, "grouped_workqueues":[ { "dev":"wq0.1",
Signature · 1 line
2.27.0
Dave Jiang
Reviewed-by on v1 1/1Quoted 4 lines · Tony Zhu
According test
tokens_allowed= 8, BW is limited to ~8 GBPS per WQ. Set 0 to remove the limitation.Signed-off-by Tony Zhu <tony.zhu(a)intel.com>
LGTM
Reviewed-by Dave Jiang <dave.jiang(a)intel.com>
Quoted 97 lines
--- contrib/configs/app_profile.conf | 4 ++-- contrib/configs/os_profile.conf | 2 +- contrib/configs/profilenote.txt | 4 ++++ contrib/configs/storage_profile.conf | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-)contrib/configs/app_profile.conf +2
-2@@ -7,7 +7,7 @@ "dev":"group0.0", "tokens_reserved":0, "use_token_limit":0, - "tokens_allowed":8, + "tokens_allowed":0, "grouped_workqueues":[ { "dev":"wq0.0",@@ -34,7 +34,7 @@ "dev":"group0.1", "tokens_reserved":0, "use_token_limit":0, - "tokens_allowed":8, + "tokens_allowed":0, "grouped_workqueues":[ { "dev":"wq0.1",contrib/configs/os_profile.conf +1
-1@@ -7,7 +7,7 @@ "dev":"group0.0", "tokens_reserved":0, "use_token_limit":0, - "tokens_allowed":8, + "tokens_allowed":0, "grouped_workqueues":[ { "dev":"wq0.0",contrib/configs/profilenote.txt +4
-0@@ -9,6 +9,7 @@ profile descriptions. - max xfer size=2MB, max batch sz=32, bof=0 - priority 10 - threshold 15 + - tokens_allowed 0 2. app_profile.conf Recommended dsa default application profile.@@ -17,6 +18,7 @@ profile descriptions. max xfer size=16KB, max batch sz=32, bof=0, threshold=6 - Grp2 - SWQ2(a)32qd, 1eng max xfer size=2MB, max batch sz=32, bof=0, threshold=28 + - tokens_allowed 0 - Use group1 for smaller size ops with better latency characteristics 3. net_profile.conf@@ -24,6 +26,7 @@ profile descriptions. - 4 groups, each with 1 DWQ(a)32qd/1 eng per group - Each DWQ has max xfer size=16KB - DWQ threshold default 0 + - tokens_allowed 0 4. storage_profile.conf Recommended dsa storage accel profile@@ -34,3 +37,4 @@ profile descriptions. for throughput ops - targeting SPDK-like uses - DWQ threshold default 0 + - tokens_allowed 0contrib/configs/storage_profile.conf +2
-2@@ -7,7 +7,7 @@ "dev":"group0.0", "tokens_reserved":0, "use_token_limit":0, - "tokens_allowed":8, + "tokens_allowed":0, "grouped_workqueues":[ { "dev":"wq0.0",@@ -34,7 +34,7 @@ "dev":"group0.1", "tokens_reserved":0, "use_token_limit":0, - "tokens_allowed":8, + "tokens_allowed":0, "grouped_workqueues":[ { "dev":"wq0.1",