finished the script
This commit is contained in:
parent
29cc2bad1a
commit
4c4a0b1c61
@ -1,2 +1,7 @@
|
||||
# Homework_Lesson_10
|
||||
|
||||
## Assignment
|
||||
Create a user-space program (any language is acceptable)
|
||||
that differentiates the performance of the Linux Kernel with the PREEMPT_RT patches from that without the PREEMPT_RT patches.
|
||||
Compile and run the program.
|
||||
Submit the source code and the screen shots of the standard output and the kernel log message, respectively, when the program is being executed.
|
8
test.sh
Normal file
8
test.sh
Normal file
@ -0,0 +1,8 @@
|
||||
echo "==================================================" >> output.txt
|
||||
uname -a >> output.txt
|
||||
echo "--------------------------------------------------" >> output.txt
|
||||
hackbench -l 20000 >> output.txt &
|
||||
sleep 1
|
||||
echo "--------------------------------------------------" >> output.txt
|
||||
sudo cyclictest -q --mlockall --smp --priority=80 --interval=200 --distance=0 -D 1m >> output.txt
|
||||
echo "--------------------------------------------------" >> output.txt
|
Loading…
x
Reference in New Issue
Block a user