diff --git a/README.md b/README.md index 57f934b..29f7b07 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file diff --git a/test.sh b/test.sh new file mode 100644 index 0000000..aa897ec --- /dev/null +++ b/test.sh @@ -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 \ No newline at end of file