Results 1 to 6 of 6

Thread: Realtime systems and OS dependency

Hybrid View

  1. #1

    Realtime systems and OS dependency

    Hi all
    I have a question about realtime system development.
    As a lot of you know,in realtime systems reliablity of answering time is too important.You shoulb be sure that you can answer the request in a verrry short period of time when they happen.
    This will make a high dependency between the application itself,and its operating OS,because of their algorithms in time scheduling for processes. Because we should be sure that our process will obtain CPU in proper time for answering request.
    I heared that in some OSs like "Realtime linux":
    www.realtimelinuxfoundation.org
    you can force OS to gain CPU to a specific process in a promised time.
    Now here is my question:
    You can set a process priority to realtime and even bind it to seprated cores and processors in Windows that windows say that it will get more cpu to your process,but is it possible that we can be sure that our process will gain processor in a specific time?Is there anyway to do this?

    sincerely yours
    I should look out my posts,Or JMI will get mad at me! ;)

  2. #2
    This is probably impossible, as Windows was never intended as a realtime OS.

  3. #3
    Well...
    Technically you could
    A) write a driver that reprogram the APIC.
    B) force the Windows Scheduler to schedule your task by directly altering the scheduler.

    It was a common technique at old MS-DOS times, just remember to send the EOI at end of interrupt before IRET... but notice that on P4 families the APIC is not an easy toy anymore.
    Do not rely on windows insterrupt machine, and always remember that some driver might hook your interrupt, so you must be sure of what you are running -or might run- at r0.

    Good luck -and don't bet your life on Windows please. You would be a killer.
    I want to know God's thoughts ...the rest are details.
    (A. Einstein)
    --------
    ..."a shellcode is a command you do at the linux shell"...

  4. #4
    Hi
    Is there anybody who seen anything for reprogramming APIC?I don't think that somebody can do it easily even for advanced programmer...
    In addition what is the best OS for developing realtime systems?I mean best one that has suitable tools for developing applications too.

    sincerely yours
    I should look out my posts,Or JMI will get mad at me! ;)

  5. #5
    Hi Hero,

    Take a look in this interesting article:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxpembed/html/hardrealtime.asp

    Regards,
    Opc0de

  6. #6
    Quote Originally Posted by Opcode
    Take a look in this interesting article:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxpembed/html/hardrealtime.asp
    Thanks very much.
    The performance comparison is really intersting....

    Regards
    I should look out my posts,Or JMI will get mad at me! ;)

Similar Threads

  1. Embembeded systems
    By tazBRC in forum Off Topic
    Replies: 2
    Last Post: April 26th, 2010, 21:29
  2. dr7.gd on mp systems running sice
    By deroko in forum Blogs Forum
    Replies: 5
    Last Post: February 11th, 2008, 10:16
  3. keyboard problem with SoftICE on NT systems
    By quasar in forum Tools of Our Trade (TOT) Messageboard
    Replies: 4
    Last Post: March 31st, 2004, 03:40
  4. Replies: 6
    Last Post: August 25th, 2003, 13:02

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •