kara zaffarano sunyit. detect cpu bound and i/o bound processes increase process priority for cpu...

14
Kara Zaffarano SunyIT

Upload: matilda-page

Post on 13-Dec-2015

223 views

Category:

Documents


1 download

TRANSCRIPT

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

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

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

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

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
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
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
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
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
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

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
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
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

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