Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU...
-
Upload
matilda-page -
Category
Documents
-
view
223 -
download
1
Transcript of Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU...
![Page 1: Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU bound processes and lower nice value Lower priority.](https://reader036.fdocuments.us/reader036/viewer/2022062304/56649f4d5503460f94c6e0c8/html5/thumbnails/1.jpg)
Kara ZaffaranoSunyIT
![Page 2: Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU bound processes and lower nice value Lower priority.](https://reader036.fdocuments.us/reader036/viewer/2022062304/56649f4d5503460f94c6e0c8/html5/thumbnails/2.jpg)
Detect CPU bound and I/O bound processes Increase process priority for CPU bound
processes and lower nice value Lower priority for I/O bound processes and
increase nice value Control operation using a system call
Toggle functionality Set parameters
Log detection and changes to process priority
![Page 3: Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU bound processes and lower nice value Lower priority.](https://reader036.fdocuments.us/reader036/viewer/2022062304/56649f4d5503460f94c6e0c8/html5/thumbnails/3.jpg)
Virtual machine (VM) 2GB RAM 2 2.1GHz cores
Ubuntu 12.10 3.8-rc6 Kernel
![Page 4: Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU bound processes and lower nice value Lower priority.](https://reader036.fdocuments.us/reader036/viewer/2022062304/56649f4d5503460f94c6e0c8/html5/thumbnails/4.jpg)
Kernel/sched/fair.c Include/linux/syscalls.hArch/x86/syscalls.tbl
![Page 5: Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU bound processes and lower nice value Lower priority.](https://reader036.fdocuments.us/reader036/viewer/2022062304/56649f4d5503460f94c6e0c8/html5/thumbnails/5.jpg)
![Page 6: Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU bound processes and lower nice value Lower priority.](https://reader036.fdocuments.us/reader036/viewer/2022062304/56649f4d5503460f94c6e0c8/html5/thumbnails/6.jpg)
![Page 7: Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU bound processes and lower nice value Lower priority.](https://reader036.fdocuments.us/reader036/viewer/2022062304/56649f4d5503460f94c6e0c8/html5/thumbnails/7.jpg)
![Page 8: Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU bound processes and lower nice value Lower priority.](https://reader036.fdocuments.us/reader036/viewer/2022062304/56649f4d5503460f94c6e0c8/html5/thumbnails/8.jpg)
![Page 9: Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU bound processes and lower nice value Lower priority.](https://reader036.fdocuments.us/reader036/viewer/2022062304/56649f4d5503460f94c6e0c8/html5/thumbnails/9.jpg)
![Page 10: Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU bound processes and lower nice value Lower priority.](https://reader036.fdocuments.us/reader036/viewer/2022062304/56649f4d5503460f94c6e0c8/html5/thumbnails/10.jpg)
Phoronix Automated open source testing
framework http://www.phoronix-test-suite.com/
Chess test suite Tscp – AI algorithm for the game of
chessCustom AI project test
Classification
![Page 11: Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU bound processes and lower nice value Lower priority.](https://reader036.fdocuments.us/reader036/viewer/2022062304/56649f4d5503460f94c6e0c8/html5/thumbnails/11.jpg)
![Page 12: Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU bound processes and lower nice value Lower priority.](https://reader036.fdocuments.us/reader036/viewer/2022062304/56649f4d5503460f94c6e0c8/html5/thumbnails/12.jpg)
![Page 13: Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU bound processes and lower nice value Lower priority.](https://reader036.fdocuments.us/reader036/viewer/2022062304/56649f4d5503460f94c6e0c8/html5/thumbnails/13.jpg)
High deviations in collected data both with and without modifications Caused by virtual environment?
Time skew issue wasted a lot of time Would have tested/validated modifications
more Would have cleaned up the code a bit more Would have explored rt, se Etc.
Slow VM!!!!
![Page 14: Kara Zaffarano SunyIT. Detect CPU bound and I/O bound processes Increase process priority for CPU bound processes and lower nice value Lower priority.](https://reader036.fdocuments.us/reader036/viewer/2022062304/56649f4d5503460f94c6e0c8/html5/thumbnails/14.jpg)