Add lmbench signal protection test
This commit is contained in:
		
							parent
							
								
									21255655c0
								
							
						
					
					
						commit
						8ce86e4d98
					
				| 
						 | 
				
			
			@ -38,6 +38,7 @@ jobs:
 | 
			
		|||
          # Signal-related benchmarks
 | 
			
		||||
          - lmbench-signal
 | 
			
		||||
          - lmbench-signal-install
 | 
			
		||||
          - lmbench-signal-prot
 | 
			
		||||
          # File-related benchmarks
 | 
			
		||||
          - lmbench-file-rd-bandwidth
 | 
			
		||||
          - lmbench-select-file
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
{
 | 
			
		||||
    "alert_threshold": "125%",
 | 
			
		||||
    "alert_tool": "customSmallerIsBetter",
 | 
			
		||||
    "search_pattern": "Protection fault:",
 | 
			
		||||
    "result_index": "3",
 | 
			
		||||
    "description": "The latency to catch a protection fault on a single processor."
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,14 @@
 | 
			
		|||
[
 | 
			
		||||
    {
 | 
			
		||||
        "name": "Average protection fault latency on Linux",
 | 
			
		||||
        "unit": "µs",
 | 
			
		||||
        "value": 0,
 | 
			
		||||
        "extra": "linux_avg"
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
        "name": "Average protection fault latency on Asterinas",
 | 
			
		||||
        "unit": "µs",
 | 
			
		||||
        "value": 0,
 | 
			
		||||
        "extra": "aster_avg"
 | 
			
		||||
    }
 | 
			
		||||
]
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
# SPDX-License-Identifier: MPL-2.0
 | 
			
		||||
 | 
			
		||||
set -e
 | 
			
		||||
 | 
			
		||||
echo "*** Running the LMbench protection fault latency test ***"
 | 
			
		||||
 | 
			
		||||
dd if=/dev/zero of=/ext2/test_file bs=1M count=256
 | 
			
		||||
/benchmark/bin/lmbench/lat_sig prot /ext2/test_file
 | 
			
		||||
		Loading…
	
		Reference in New Issue