perfsonar-user - [perfsonar-user] Limit TCP Throughput Bandwidth to 500Mb
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: "Yamamoto, Miguel" <>
- To: "" <>
- Subject: [perfsonar-user] Limit TCP Throughput Bandwidth to 500Mb
- Date: Tue, 12 Mar 2024 19:51:52 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucsf.edu; dmarc=pass action=none header.from=ucsf.edu; dkim=pass header.d=ucsf.edu; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MQqRD2kahTshjgC1GtWp3OtL3/GLmLfu045gfnTg9iA=; b=njjZhhTmJXng2ZdvJxiIWKCN0Ar47lQr7UPprMQV/7PZXsW1YgAxc0xDNOmVI8KZsSoW7MDLfYC8REY8T2xGUgk5nqeanoejzK8fvUbD6Sp9vKpCyMW9SWaj6F7bmlyvgwRyPiakC9ZXDU0PZy3CFMz3IAG7xYXEn7j9fvrOQTvX3bygxHkeot5tvplXl7Bwv6EXTXeu/el2sVUd32PbUEVx1EH6BTFvB9V7jf4IkQddy8CV57Mgufe6ht0921Rpd5YD2JzvTBUGyue1lYiKwEy0Vq094QfnipBA+lqnUzXgWOMHMe/3UteM+1inKHQP0mIAKB9OMtF3SQ1ysHwT2w==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ehsnh+AVrAXXSJvbrLfqaMc/YlQDWDF5uM/0weKqWQUXAoUKIVYIwogMQOoQxOyPZUMx4U/LSbaL1LGmBtba5eD7UyHc/SHuBVpyKo8fG5OC0YCgU/RXF3WPJgLl/gPIIMBhrFXeiPnahnYWEBjUjJ4qy73JK/u7ybfFjlybWrFzK8UjCpISK/tr/QXDv1XjLtafkdgTzc2JvKtx1baEArQZuK1FEh8stQqQVW94B3ERUPXhYbxHP0RF6z0vsTPVVrdWGn0W458IafOR0uXA/WI1tzrtbEjiCp+vg0BBAbv2p33Vhyx5Fo16p0OlBXbOlhQfzAb/NN7gxj/GuazTTw==
Hi, "name": "throughput-low-bandwidth", "description": "Limit throughput test bandwidth", "type": "jq", "data": { "script": [ "import \"pscheduler/si\" as si;", "\"500M\" as $max_bandwidth", "| if .type == \"throughput\" and si::as_integer(.spec.bandwidth) > si::as_integer($max_bandwidth)", "then", " \"Bandwidth is limited to \\($max_bandwidth)\"", "else true", "end" ] } }
I also tried this:
"name": "throughput-low-bandwidth", "description": "Limit throughput test bandwidth", "type": "jq", "data": { "script": [ "if .test.type != \"throughput\"", "then true # Don't care.", "else", " if .test.spec. == true", " and (.test.spec.bandwidth == null", " or .test.spec.bandwidth > 500000000)", " then", " .task.spec.bandwidth = 500000000 change(\"Test\")", " else true end", "end" ] } }
jq: error: syntax error, unexpected ==, expecting FORMAT or QQSTRING_START (Unix shell quoting issues?) at <top-level>, line 4: if .test.spec. == true jq: error: Possibly unterminated 'if' statement at <top-level>, line 1: if .test.type != "throughput" jq: error: syntax error, unexpected then, expecting $end (Unix shell quoting issues?) at <top-level>, line 7: then
|
- [perfsonar-user] Limit TCP Throughput Bandwidth to 500Mb, Yamamoto, Miguel, 03/12/2024
- Re: [perfsonar-user] Limit TCP Throughput Bandwidth to 500Mb, Mark Feit, 03/12/2024
- RE: [perfsonar-user] Limit TCP Throughput Bandwidth to 500Mb, Brian Tehan, 03/13/2024
- Re: [perfsonar-user] Limit TCP Throughput Bandwidth to 500Mb, Yamamoto, Miguel, 03/13/2024
- Re: [perfsonar-user] Limit TCP Throughput Bandwidth to 500Mb, Mark Feit, 03/14/2024
- Re: [perfsonar-user] Limit TCP Throughput Bandwidth to 500Mb, Yamamoto, Miguel, 03/21/2024
- Re: [perfsonar-user] Limit TCP Throughput Bandwidth to 500Mb, Mark Feit, 03/28/2024
- Message not available
- Re: [perfsonar-user] Limit TCP Throughput Bandwidth to 500Mb, Mark Feit, 03/29/2024
- Message not available
- Re: [perfsonar-user] Limit TCP Throughput Bandwidth to 500Mb, Mark Feit, 03/28/2024
- Re: [perfsonar-user] Limit TCP Throughput Bandwidth to 500Mb, Yamamoto, Miguel, 03/21/2024
- Re: [perfsonar-user] Limit TCP Throughput Bandwidth to 500Mb, Mark Feit, 03/14/2024
- Re: [perfsonar-user] Limit TCP Throughput Bandwidth to 500Mb, Mark Feit, 03/12/2024
Archive powered by MHonArc 2.6.24.