hardware vs. software task switching

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply

What do you use?

Hardware task switching
2
7%
Software task switching
25
89%
My OS can only monotask :(
1
4%
 
Total votes: 28

User avatar
AndrewAPrice
Member
Member
Posts: 2309
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

hardware vs. software task switching

Post by AndrewAPrice »

What are the advantages/disadvantages of each? And what do you use?
My OS is Perception.
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Post by Candy »

Portability.
User avatar
os64dev
Member
Member
Posts: 553
Joined: Sat Jan 27, 2007 3:21 pm
Location: Best, Netherlands

Post by os64dev »

using 64 bit long mode so hardware context switching is not possible. monotasking is kind a old school and definatly dumb to implement.
Author of COBOS
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Post by pcmattman »

Software multitasking is so easy, and fast.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

Future-proofing (hopefully). Realised that software multitasking is the way forward.

Adam
User avatar
Kevin McGuire
Member
Member
Posts: 843
Joined: Tue Nov 09, 2004 12:00 am
Location: United States
Contact:

Post by Kevin McGuire »

  • I have read the micro code inside the processors is very old for the hardware tasking switching.
  • You can do everything you will do with the TSS with out it, including switching into VM86 mode.
  • It does not bloat up my scheduler code trying to work with a TSS structure, and a GDT entry.
User avatar
AndrewAPrice
Member
Member
Posts: 2309
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Post by AndrewAPrice »

Nobody selected "my OS can only monotask". Don't be shy!
My OS is Perception.
Post Reply