[SOLVED] Re: Generic Discuss about CPU resource scheduling

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Aaron Lewis
Date: Tuesday, April 20, 2010 - 4:04 am

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

First of All , Thanks to all your help ;-)
All the replies are good , and enlightened me.


Finally as i read more of the book , i found a good way to solve this
problem.

They use multiple queues , which has different CPU time for a slice.
That's a good way as a statistics of running time.
Shorter tasks will be available to execute , and finish earlier.

- ---------------------------------
|	7s CPU time per slice 	| 	// Queue 1
- ---------------------------------

 ==> if a process didn't finish , move
it to next queue.

- ---------------------------------
|	14s per slice (maybe) 	|	// Queue 2
- ---------------------------------

...

And different queues owns different priority , of course.


Thanks again for all of your experience !

- -- 
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4r0n on freenode
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvNikYACgkQvf41sEptMqDnVACguzyJFMSyurqW6RpQE3lay/g3
M2gAn1wOQ+pl0guyKQQD7lQe2SBCAq71
=lHeF
-----END PGP SIGNATURE-----
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Generic Discuss about CPU resource scheduling, Aaron Lewis, (Sun Apr 18, 6:35 am)
Re: Generic Discuss about CPU resource scheduling, Luis Useche, (Sun Apr 18, 9:10 am)
Re: Generic Discuss about CPU resource scheduling, Otto Moerbeek, (Sun Apr 18, 9:25 am)
Re: Generic Discuss about CPU resource scheduling, Ted Unangst, (Sun Apr 18, 9:55 am)
Re: Generic Discuss about CPU resource scheduling, Tony Abernethy, (Sun Apr 18, 1:38 pm)
Re: Generic Discuss about CPU resource scheduling, "RALOVICH, Kristóf", (Sun Apr 18, 3:23 pm)
Re: Generic Discuss about CPU resource scheduling, Aaron Lewis, (Sun Apr 18, 5:09 pm)
Re: Generic Discuss about CPU resource scheduling, Aaron Lewis, (Sun Apr 18, 5:16 pm)
Re: Generic Discuss about CPU resource scheduling, Aaron Lewis, (Sun Apr 18, 5:27 pm)
Re: Generic Discuss about CPU resource scheduling, Tony Abernethy, (Sun Apr 18, 7:52 pm)
Re: Generic Discuss about CPU resource scheduling, Otto Moerbeek, (Mon Apr 19, 1:12 am)
[SOLVED] Re: Generic Discuss about CPU resource scheduling, Aaron Lewis, (Tue Apr 20, 4:04 am)