Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Cass on January 25, 2004, 12:51:17 AM
-
I've noticed that when in heavy load, the PPC kernel is blocked onto one task, leaving the rest waiting.
If such a thing happens on the 68K side, all I have to do is to start executive, and the task is forced to switch to the next one by the scheduler.
Is there any such thing in mind for WarpOS or for OS4, so there will be no stalls any more?
________
TOYS MOVIES (http://www.fucktube.com/categories/41/toys/videos/1)
-
WarpOS already has a task scheduler like Executive's built in. The reason you're getting blocking is not multitasking, its hardware context switches.
-
Unless you are some truly dreadful code, the old hardware context switch shoudldnt be noticable at all - it takes half a millisecond or so per switch (hence a millisecond overall).
It certianly doesn't impact on my system at all (at least as far as I can test), and thats the 040 version of the card. The 060 version is considerably faster apparently.
I have written some test code that thrashes the warpos kernel by doing a massive number of switches in a tight loop. Now that did bugger things up a tad, but any code like that is indicative of an extremely poor/vindictave coder ;-)
-
Where can I get some 060 replacement libs and data types? I want as mush of my system to run from the PPC as I can. I am in the process of "discovering" my PPC card. I never had a working one before since my other one was sent to DCE just after I got it due to a PPC problem.
-
The hardware contex switches always exist, the point is that the task seems to hold the PPC multitasking.
Sure there must be some kind of multitasking kernel on the WarpOS, as in the 68K exec, but nothing is perfect. As I said before, on the 68K side if such a thing happens (rarely, the exec is almost perfect :-D ), all I have to do is to run executive (http://wuarchive.wustl.edu/pub/aminet/util/misc/Executive.readme) and the problem is solved : the stalled system is forced to respond, even if there are HEAVY tasks running on the background.
Are there any system monitors that show the priorities, and the PPC tasks? :-? Idle (http://wuarchive.wustl.edu/pub/aminet/util/moni/idlewos.readme) has access to the PPC side, but I'd prefer something like the old XOper or Scout or SysInspector, for the PPC.
________
C70 (http://www.honda-wiki.org/wiki/Honda_C70)