BareMetal OS Queue presentation

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
Post Reply
User avatar
IanSeyler
Member
Member
Posts: 326
Joined: Mon Jul 28, 2008 9:46 am
Location: Ontario, Canada
Contact:

BareMetal OS Queue presentation

Post by IanSeyler »

Hi everyone,

A slideshow presentation has been created on how the process queue works in BareMetal OS. If you have 3 minutes please take a look and tell me what you think.

http://www.youtube.com/watch?v=19NW8iPM3X4
BareMetal OS - http://www.returninfinity.com/
Mono-tasking 64-bit OS for x86-64 based computers, written entirely in Assembly
User avatar
NickJohnson
Member
Member
Posts: 1249
Joined: Tue Mar 24, 2009 8:11 pm
Location: Sunnyvale, California

Re: BareMetal OS Queue presentation

Post by NickJohnson »

The graphics are really nice, and definitely effective. Just a couple comments: you should try to scale up the text in the sample C code, because it's unreadable with YouTube compression, and you should remove the cross-dissolves between label text blocks during the graphic parts, because they are unreadable during that transition (I would recommend a fast dissolve out then a fast dissolve in instead of a slow cross-dissolve.)
Ferrarius
Member
Member
Posts: 69
Joined: Sun Oct 28, 2007 4:10 pm

Re: BareMetal OS Queue presentation

Post by Ferrarius »

I must say I was impressed by the simplicity of your multitasking. Just one question, when there are say 20 workloads and but two processors. Do the last 2 have to wait for the first 18 to be finished or are they also dynamically put back on the queue after n amount of time? Also, why do you kill the CLI, is it/will it not (be) possible to background processes?
Modular Interface Kernel With a lot of bugs ;)
User avatar
Neolander
Member
Member
Posts: 228
Joined: Tue Mar 23, 2010 3:01 pm
Location: Uppsala, Sweden
Contact:

Re: BareMetal OS Queue presentation

Post by Neolander »

Ferrarius wrote:I must say I was impressed by the simplicity of your multitasking. Just one question, when there are say 20 workloads and but two processors. Do the last 2 have to wait for the first 18 to be finished or are they also dynamically put back on the queue after n amount of time? Also, why do you kill the CLI, is it/will it not (be) possible to background processes?
They have to wait, in a mainframe-like fashion. From this page of the website, it reads...
Monotasking
The philosophy behind BareMetal OS is to run one application at a time. Multitasking adds complexity to the overall system as well as degraded performance due to the protection mechanisms necessary in a multitasking system. While BareMetal OS is a mono-tasking system it does allow for multiprocessing to submit sub-tasks to other available CPUs.
The idea behind BareMetal is to have software running as close to the bare met... hardware as possible, achieving maximum performance and hardware availability at the detriment of high-level features like pre-emptive multitasking.
I think I saw the author writing about render farms as one of the possible applications.
User avatar
IanSeyler
Member
Member
Posts: 326
Joined: Mon Jul 28, 2008 9:46 am
Location: Ontario, Canada
Contact:

Re: BareMetal OS Queue presentation

Post by IanSeyler »

Here is an updated version on Vimeo.

http://vimeo.com/13423853

The resolution while watching online still isn't the greatest (The original is 1024 x 768) but Vimeo allows you to download the original.
BareMetal OS - http://www.returninfinity.com/
Mono-tasking 64-bit OS for x86-64 based computers, written entirely in Assembly
Post Reply