time slice

I have 3 processes scheduled to round robin and running at the same
priority. I want to experiment with the timing of the processes. How do I
adjust the scheduler’s time slice?

Alan

Alan Larson <alan_lawson@wintec-inc.c om> wrote:

I have 3 processes scheduled to round robin and running at the same
priority. I want to experiment with the timing of the processes. How do I
adjust the scheduler’s time slice?

Which OS? Under QNX4, you can not change the timeslice. Under Neutrino,
you can’t directly change the timeslice, but it is a (fixed, value = 4)
multiple of the ticksize (clock period) and you can change the ticksize,
which will also change the time slice.

-David

Thanks for responding David.

I am using QNX4.25.
Does this mean that changing the ticksize in QNX4.25 only affects the
timer’s precision and not the timeslice?

-Alan



Which OS? Under QNX4, you can not change the timeslice. Under Neutrino,
you can’t directly change the timeslice, but it is a (fixed, value = 4)
multiple of the ticksize (clock period) and you can change the ticksize,
which will also change the time slice.

-David

Alan Larson <alan_lawson@wintec-inc.c om> wrote:

Thanks for responding David.

I am using QNX4.25.
Does this mean that changing the ticksize in QNX4.25 only affects the
timer’s precision and not the timeslice?

Correct. The timeslice is fixed at 50ms for QNX 4.25. Changing the
ticksize just affects the timer’s precision, frequency of interrupt 0,
and precision of the system clock.

Note that Yeild() and sched_yield() are available to force a task
switch at the same priority.

-David

HI,
I was hoping that 24 Mb of download time are not wasted but I
was wrong,
QNX thus very beautiful, but there are very serious problem,

  • the keyboard interface always jam (duplication of keys error, unable to
    type correctly,
    switching of Uppercase and Lowercase)

  • Worst then the 1.44 demo disk (Which I preffer, if a 1.44 can have a
    browser, 24 mb
    should have an Office at least)

  • Too well protected as we will steal its neutrino technology. (no way to
    access it files
    structure,( too restricted for a programmer)

  • Interfaces are not very complete as in Windows try TAB and Alt TAB

  • Device driver are too less ( I won’t blame because QNX is new)

  • No support for EXE, QNX pro UNIX, but for an OS to survive you need to
    support all
    /as much as system available.

  • Hang /Jam without notice waste of resource and memory

  • overating it will be at least 5 years for it to be mature…

The advantages

  • Browser are fast enough (faster then netscape / IE ) nearly outdated
    SSL
  • Dialup Connection is easy to setup



    Regards,
    Personel view,
    Ignore as necessary…

Previously, ray wrote in comp.os.qnx:
{ HI,
{ I was hoping that 24 Mb of download time are not wasted but I
{ was wrong,
{ QNX thus very beautiful, but there are very serious problem,
{
{ - the keyboard interface always jam (duplication of keys error, unable to
{ type correctly,

can you give some hardware deatials? ( what keyboard, what motherboard)

{ switching of Uppercase and Lowercase)
{ - Worst then the 1.44 demo disk (Which I preffer, if a 1.44 can have a
{ browser, 24 mb
{ should have an Office at least)

I bet someone is writting one as we type

{ - Too well protected as we will steal its neutrino technology. (no way to
{ access it files
{ structure,( too restricted for a programmer)

What? there is the package filesystem but you can still open and use files
just like any unix filesystem

{ - Interfaces are not very complete as in Windows try TAB and Alt TAB

we use differnet hotkeys

{ - Device driver are too less ( I won’t blame because QNX is new)

yeap this operating system is new, and the list of hardware support is growing

{ - No support for EXE, QNX pro UNIX, but for an OS to survive you need to
{ support all
{ /as much as system available.
{ - Hang /Jam without notice waste of resource and memory

can you give us as much details on what was happening when the system went down

{
{ - overating it will be at least 5 years for it to be mature…
{
{ The advantages
{ - Browser are fast enough (faster then netscape / IE ) nearly outdated
{ SSL
{ - Dialup Connection is easy to setup
{
{
{
{ Regards,
{ Personel view,
{ Ignore as necessary…

We don’t ignore, but we need more info, and details


Pat Ford email: pford@qnx.com
QNX Software Systems, Ltd. WWW: http://www.qnx.com
(613) 591-0931 (voice) mail: 175 Terence Matthews
(613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8

{
{
{ Regards,
{ Personel view,
{ Ignore as necessary…

We don’t ignore, but we need more info, and details


Pat Ford email: > pford@qnx.com
QNX Software Systems, Ltd. WWW: > http://www.qnx.com
(613) 591-0931 (voice) mail: 175 Terence Matthews
(613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8

One thing I have to give credit for is the great support QNX has. They are
really a class act. When I was having problems with my graphics card, I
emailed them, and the next day, somebody sent me a beta version of pci-bios
which cleared the problems up. Keep up the good work.


Sent via Deja.com http://www.deja.com/
Before you buy.