---
+ Post New Thread
Results 1 to 13 of 13
  1. #1
    Member level 5
    Points: 1,693, Level: 9

    Join Date
    Nov 2006
    Posts
    88
    Helped
    3 / 3
    Points
    1,693
    Level
    9

    difference between rtos and os

    what are the differences between RTOS and General OS ..??

    help me pls

    thanks,

    Kishore Kumar M.S.

  2. #2
    Full Member level 4
    Points: 3,273, Level: 13

    Join Date
    Dec 2005
    Posts
    202
    Helped
    19 / 19
    Points
    3,273
    Level
    13

    general os

    The key difference between general-computing operating systems and real-time operating systems is the need for " deterministic " timing behavior in the real-time operating systems. Formally, "deterministic" timing means that operating system services consume only known and expected amounts of time. In theory, these service times could be expressed as mathematical formulas. These formulas must be strictly algebraic and not include any random timing components. Random elements in service times could cause random delays in application software and could then make the application randomly miss real-time deadlines – a scenario clearly unacceptable for a real-time embedded system. Many non-real-time operating systems also provide similar kernel services.

    General-computing non-real-time operating systems are often quite non-deterministic. Their services can inject random delays into application software and thus cause slow responsiveness of an application at unexpected times. If you ask the developer of a non-real-time operating system for the algebraic formula describing the timing behavior of one of its services (such as sending a message from task to task), you will invariably not get an algebraic formula. Instead the developer of the non-real-time operating system (such as Windows, Unix or Linux) will just give you a puzzled look. Deterministic timing behavior was simply not a design goal for these general-computing operating systems.

    On the other hand, real-time operating systems often go a step beyond basic determinism. For most kernel services, these operating systems offer constant load-independent timing: In other words, the algebraic formula is as simple as: T(message_send) = constant , irrespective of the length of the message to be sent, or other factors such as the numbers of tasks and queues and messages being managed by the RTOS.

    Many RTOS proponents argue that a real-time operating system must not use virtual memory concepts, because paging mechanics prevent a deterministic response. While this is a frequently supported argument, it should be noted that the term "real-time operating system" and determinism in this context covers a very wide meaning, and vendors of many different operating systems apply these terms with varied meaning. When selecting an operating system for a specific task, the real-time attribute alone is an insufficient criterion, therefore. Deterministic behavior and deterministic latencies have value only if the response lies within the boundaries of the physics of the process that is to be controlled. For example, controlling a combustion engine in a racing car has different real-time requirements to the problem of filling a 1,000,000 litre water tank through a 2" pipe.

    Real-time operating systems are often uses in embedded solutions, that is, computing platforms that are within another device. Examples for embedded systems include combustion engine controllers or washing machine controllers and many others. Desktop PC and other general-purpose computers are not embedded systems. While real-time operating systems are typically designed for and used with embedded systems, the two aspects are essentially distinct, and have different requirements. A real-time operating system for embedded system addresses both sets of requirements.-Wiki.Answers


    Hope this helps..

    http://www.control.com/1026205354/index_html


    2 members found this post helpful.

    •   Alt7th October 2008, 08:54

      advertising

        
       

  3. #3
    Full Member level 3
    Points: 2,684, Level: 12
    saubhik's Avatar
    Join Date
    Apr 2007
    Location
    India
    Posts
    162
    Helped
    19 / 19
    Points
    2,684
    Level
    12

    difference between os and rtos

    I think it will be helpful to you ....


    1 members found this post helpful.

  4. #4
    Full Member level 4
    Points: 1,814, Level: 9
    navenmou's Avatar
    Join Date
    Sep 2010
    Location
    Bangalore, India
    Posts
    228
    Helped
    49 / 49
    Points
    1,814
    Level
    9
    Blog Entries
    2

    Re: difference between rtos and os

    1.The main difference between GPOS and RTOS is that the RTOS should be
    deterministic

    2.RTOS are scalable.Adding of required components are allowed in RTOS.Hence the size of the image of RTOS can be reduced upon the available memory.

    3.Good RTOS never supports virtual memory . The applications are loaded entirely i.e. There is no demand paging.


    these are the main differences



    •   Alt29th April 2011, 04:01

      advertising

        
       

  5. #5
    Advanced Member level 3
    Points: 8,805, Level: 22
    yadavvlsi's Avatar
    Join Date
    Nov 2010
    Location
    Bangalore, India
    Posts
    973
    Helped
    463 / 463
    Points
    8,805
    Level
    22

    Re: Difference between RTOS and general OS ?

    RTOS never hang-up while general OS can hang-up. Windows usually hangs-up!



  6. #6
    Member level 5
    Points: 1,418, Level: 8
    kandhu26's Avatar
    Join Date
    Sep 2009
    Location
    chennai / bangalore
    Posts
    94
    Helped
    13 / 13
    Points
    1,418
    Level
    8

    Re: Difference between RTOS and general OS ?

    hii yadavvlsi... RTOS also hangs if you dont use properly..In my case it happened... I was using FREE RTOS for UC3B0256 [AVR 32 bit]... Due to stack overflow my code hangs.. RTOS never hang up is wrong one...



    •   Alt30th April 2011, 11:15

      advertising

        
       

  7. #7
    Advanced Member level 3
    Points: 8,805, Level: 22
    yadavvlsi's Avatar
    Join Date
    Nov 2010
    Location
    Bangalore, India
    Posts
    973
    Helped
    463 / 463
    Points
    8,805
    Level
    22

    Re: Difference between RTOS and general OS ?

    Have you tried VxWorks..!:)



  8. #8
    Full Member level 3
    Points: 2,684, Level: 12
    saubhik's Avatar
    Join Date
    Apr 2007
    Location
    India
    Posts
    162
    Helped
    19 / 19
    Points
    2,684
    Level
    12

    Re: Difference between RTOS and general OS ?

    @yadavvlsi - I am working with vxWorks for last 5 years and yes i can write a simple application to hang the software.
    @kandhu26 - Yes , u r partially true , RTOS can hang up -
    1 . when ur critical section execution got corrupted memory slot
    2. U r application directly accesses the resource when u r vxworks kernel actually want to use it , but as the kernel is very small , u don't need to think about those options - as they are practically almost impossible.

    But u r application is a module in vxworks environment which can hang due to mishandling of exceptions or unavailability of resources or for other related reasons ... It is that how u r accepting and handling the exceptions and using the shared resources. :)

    vxWorks gives you the freedom to make your application a softRTOS type system or as a hardRTOS type system , depending on how u r handling the exceptions.

    The same way Mars mission also halted as there were an exception handling problem, but still it was considered as a hardRTOS system.

    Hope it was ok with both of you , please reply. :)



  9. #9
    Newbie level 6
    Points: 317, Level: 3

    Join Date
    Jun 2011
    Posts
    12
    Helped
    0 / 0
    Points
    317
    Level
    3

    Re: Difference between RTOS and general OS ?

    Hi,
    Can anybody pls suggest any good documents to study RTOS for beginners.


    ---danya----



  10. #10
    Full Member level 4
    Points: 1,814, Level: 9
    navenmou's Avatar
    Join Date
    Sep 2010
    Location
    Bangalore, India
    Posts
    228
    Helped
    49 / 49
    Points
    1,814
    Level
    9
    Blog Entries
    2

    Re: Difference between RTOS and general OS ?

    Hi,

    Please find the below attachment... I think this might be help full to you...



  11. #11
    Full Member level 3
    Points: 2,684, Level: 12
    saubhik's Avatar
    Join Date
    Apr 2007
    Location
    India
    Posts
    162
    Helped
    19 / 19
    Points
    2,684
    Level
    12

    Re: Difference between RTOS and general OS ?

    Quote Originally Posted by danya View Post
    Hi,
    Can anybody pls suggest any good documents to study RTOS for beginners.


    ---danya----
    Got two beautiful ppts online ...hope will be helpful.... but they cover very basics ....



  12. #12
    Newbie level 6
    Points: 317, Level: 3

    Join Date
    Jun 2011
    Posts
    12
    Helped
    0 / 0
    Points
    317
    Level
    3

    Re: Difference between RTOS and general OS ?

    Hi,
    thanks for your replies. Actually i need to study VxWorks RTOS. But i am a beginner to RTOS...So i need to start from the basics concepts.....



  13. #13
    Full Member level 3
    Points: 2,684, Level: 12
    saubhik's Avatar
    Join Date
    Apr 2007
    Location
    India
    Posts
    162
    Helped
    19 / 19
    Points
    2,684
    Level
    12

    Re: Difference between RTOS and general OS ?

    Danya ,
    these are really helpful ....
    for vxworks application programming - http://www-ad.fnal.gov/controls/micr..._guide_6.7.pdf
    for kernel development programming - http://www-ad.fnal.gov/controls/micr..._guide_6.7.pdf

    Regards,


    1 members found this post helpful.

+ Post New Thread
Please login