forked from ungleich-public/cdist
		
	++logs +beginning of benchmark
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								41099a3596
							
						
					
				
			
			
				commit
				
					
						9b3a95e244
					
				
			
		
					 3 changed files with 55 additions and 0 deletions
				
			
		
							
								
								
									
										12
									
								
								doc/dev/benchmark-parallel-deploy
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										12
									
								
								doc/dev/benchmark-parallel-deploy
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,12 @@ | |||
| #!/bin/sh | ||||
| 
 | ||||
| outfile="$1"; shift | ||||
| 
 | ||||
| ( | ||||
|    for host in "$@"; do | ||||
|       hosts="$hosts $host" | ||||
|       cdist config -c ~/p/cdist-nutzung -p $hosts | ||||
|    done | ||||
| ) | tee "$outfile" | ||||
| echo "----------" | ||||
| grep 'INFO: Total processing time for' "$outfile" | sed 's/.*: //' | ||||
|  | @ -65,3 +65,46 @@ Use: | |||
|       # Scale linearly with the single host value | ||||
|       plot((1:31)*times(1)) | ||||
| 
 | ||||
| -------------------------------------------------------------------------------- | ||||
| code: | ||||
| 
 | ||||
| octave | ||||
| time = [ | ||||
| 72.166661 | ||||
| 76.633228 | ||||
| 77.199817 | ||||
| 94.045175 | ||||
| 103.226354 | ||||
| 107.76097 | ||||
| 101.571705 | ||||
| 107.600093 | ||||
| 116.500371 | ||||
| 119.445805 | ||||
| 123.944385 | ||||
| 130.499098 | ||||
| 137.250861 | ||||
| 154.9841 | ||||
| 139.659637 | ||||
| 142.70005 | ||||
| 148.541452 | ||||
| 159.360809 | ||||
| 171.907864 | ||||
| 178.76695 | ||||
| 183.856671 | ||||
| 194.504221 | ||||
| 207.314842 | ||||
| 215.846502 | ||||
| 217.223581 | ||||
| 238.591705 | ||||
| 238.478493 | ||||
| 246.058718 | ||||
| 264.208372 | ||||
| 265.560685 | ||||
| 282.264488 | ||||
| ] | ||||
| plot(times, "-;cdist;", times(1)*[1:length(times)]', "-;linear;") | ||||
| title("Configuration duration (cdist-2.0.0-rc4)") | ||||
| ylabel("Number of hosts") | ||||
| xlabel("Time in seconds") | ||||
| print('cdist-2.0.0-rc4.png', '-dpng') | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue