Size of the QNX6 kernel

Hi all,

I have submitted a pidin command in the following format:

pidin -F “%I %N %p %J %B %c %d”

It shows that the size of the KERNEL code is 1.116 MEGA BYTES =:-(
Is this corrcet ???

\

pidin -F “%I %N %p %J %B %c %d”



pid-tid name prio STATE Blocked code data
1-01 (n/a) 0f READY 1116K 12K
1-02 (n/a) 10r RECEIVE 1 1116K 12K
1-03 (n/a) 10r RUNNING 1116K 12K
1-04 (n/a) 15r RECEIVE 1 1116K 12K
1-05 (n/a) 10r RECEIVE 1 1116K 12K
1-06 (n/a) 6r NANOSLEEP 1116K 12K
1-07 (n/a) 15r RECEIVE 1 1116K 12K
1-08 (n/a) 10r RECEIVE 1 1116K 12K
1-09 (n/a) 10r RECEIVE 1 1116K 12K
2-01 devc-con 10r RECEIVE 1 336K 68K


Armin

Armin Steinhoff wrote:

Hi all,

I have submitted a pidin command in the following format:

pidin -F “%I %N %p %J %B %c %d”

It shows that the size of the KERNEL code is 1.116 MEGA BYTES =:-(
Is this corrcet ???

Armin, since source of pidin is on CVS you could figure the answer,
being such a big advocate of open source =:)

Don’t know why pidin reports in such a funny way, but if you try to get
list of mapped segments for procnto you’ll see that there’s no ‘code’ or
‘data’ segments at all, since those concepts do not exist yet at the
time procnto is loaded. You also will see single physical shared segment
of roughly 1meg size. This 1meg is basically the size of physical memory
representing image filesystem (/proc/boot). When your .boot file is
loaded, it is uncompressed, that’s how you get 1meg from ~500k.

The 12k of ‘data’ is in fact stack. There are other 2 stack segments of
the same size, but only one is reported as ‘data’. I have yet to dig
further into it to figure why.

If you want to know size of procnto you can do ‘ls -l
/proc/boot/procnto’. Or run mkifs with -v and take a look at ‘size’
value. On PowerPC it is about 300k, on Pentium it is 200k.

Note, the SPIN reports code & data size of procnto as 0 and stack as
36k. Bad new is, it does not count real size of procnto in any way
because it is not mapped by anybody. I’ll fix it for next release.

  • Igor

pidin -F “%I %N %p %J %B %c %d”

pid-tid name prio STATE Blocked code data
1-01 (n/a) 0f READY 1116K 12K
1-02 (n/a) 10r RECEIVE 1 1116K 12K
1-03 (n/a) 10r RUNNING 1116K 12K
1-04 (n/a) 15r RECEIVE 1 1116K 12K
1-05 (n/a) 10r RECEIVE 1 1116K 12K
1-06 (n/a) 6r NANOSLEEP 1116K 12K
1-07 (n/a) 15r RECEIVE 1 1116K 12K
1-08 (n/a) 10r RECEIVE 1 1116K 12K
1-09 (n/a) 10r RECEIVE 1 1116K 12K
2-01 devc-con 10r RECEIVE 1 336K 68K

Armin

Igor Kovalenko wrote:

Armin Steinhoff wrote:

Hi all,

I have submitted a pidin command in the following format:

pidin -F “%I %N %p %J %B %c %d”

It shows that the size of the KERNEL code is 1.116 MEGA BYTES =:-(
Is this corrcet ???


Armin, since source of pidin is on CVS you could figure the answer,
being such a big advocate of open source =:)

Don’t know why pidin reports in such a funny way, but if you try to get

To add more fun, on PowerPC the above command reports 0 for procnto,
just like SPIN does :wink:

  • igor

Igor Kovalenko wrote:

Armin Steinhoff wrote:

Hi all,

I have submitted a pidin command in the following format:

pidin -F “%I %N %p %J %B %c %d”

It shows that the size of the KERNEL code is 1.116 MEGA BYTES =:-(
Is this corrcet ???


Armin, since source of pidin is on CVS you could figure the answer,
being such a big advocate of open source =:)

Nonsense …

Armin

Armin Steinhoff wrote:

Igor Kovalenko wrote:

Armin Steinhoff wrote:

Hi all,

I have submitted a pidin command in the following format:

pidin -F “%I %N %p %J %B %c %d”

It shows that the size of the KERNEL code is 1.116 MEGA BYTES =:-(
Is this corrcet ???


Armin, since source of pidin is on CVS you could figure the answer,
being such a big advocate of open source =:)

Nonsense …

I suppose that is your way to say ‘thank you’.
You’re welcome.

  • igor

“Igor Kovalenko” <Igor.Kovalenko@motorola.com> wrote in message
news:3AC37743.5A8E571@motorola.com

Armin Steinhoff wrote:

Igor Kovalenko wrote:

Armin Steinhoff wrote:

Hi all,

I have submitted a pidin command in the following format:

pidin -F “%I %N %p %J %B %c %d”

It shows that the size of the KERNEL code is 1.116 MEGA BYTES =:-(
Is this corrcet ???


Armin, since source of pidin is on CVS you could figure the answer,
being such a big advocate of open source =:)

Nonsense …


I suppose that is your way to say ‘thank you’.
You’re welcome.

  • igor
    Geez…If I didn’t know better, I’d think you two were married…

John Bowen wrote:

“Igor Kovalenko” <> Igor.Kovalenko@motorola.com> > wrote in message
news:> 3AC37743.5A8E571@motorola.com> …
Armin Steinhoff wrote:

Igor Kovalenko wrote:

Armin Steinhoff wrote:

Hi all,

I have submitted a pidin command in the following format:

pidin -F “%I %N %p %J %B %c %d”

It shows that the size of the KERNEL code is 1.116 MEGA BYTES =:-(
Is this corrcet ???


Armin, since source of pidin is on CVS you could figure the answer,
being such a big advocate of open source =:)

Nonsense …


I suppose that is your way to say ‘thank you’.
You’re welcome.

  • igor
    Geez…If I didn’t know better, I’d think you two were married…

If I didn’t know better I’d think you’re a marriage councelor >:}

  • igor

“Igor Kovalenko” <Igor.Kovalenko@motorola.com> wrote in message
news:3AC384E4.EB2E7AB7@motorola.com

John Bowen wrote:

“Igor Kovalenko” <> Igor.Kovalenko@motorola.com> > wrote in message
news:> 3AC37743.5A8E571@motorola.com> …
Armin Steinhoff wrote:

Igor Kovalenko wrote:

Armin Steinhoff wrote:

Hi all,

I have submitted a pidin command in the following format:

pidin -F “%I %N %p %J %B %c %d”

It shows that the size of the KERNEL code is 1.116 MEGA BYTES
=:-(
Is this corrcet ???


Armin, since source of pidin is on CVS you could figure the
answer,
being such a big advocate of open source =:)

Nonsense …


I suppose that is your way to say ‘thank you’.
You’re welcome.

  • igor
    Geez…If I didn’t know better, I’d think you two were married…

If I didn’t know better I’d think you’re a marriage councelor >:}

  • igor
    Probably a more rewarding career, but I can barely manage my own marriage.

Come to think of it, this is my analysis…

  1. Reading http://get.qnx.com/datasheet/whatis.html (Infatuation phase)
  2. Downloading and installing RTP (Wedding)
  3. Running photon first time (Honeymoon)
  4. Trying to write an actual useful application (waking up one morning and
    seeing it without makeup on)

John Bowen wrote:

“Igor Kovalenko” <> Igor.Kovalenko@motorola.com> > wrote in message
news:> 3AC37743.5A8E571@motorola.com> …
Armin Steinhoff wrote:

Igor Kovalenko wrote:

Armin Steinhoff wrote:

Hi all,

I have submitted a pidin command in the following format:

pidin -F “%I %N %p %J %B %c %d”

It shows that the size of the KERNEL code is 1.116 MEGA BYTES =:-(
Is this corrcet ???


Armin, since source of pidin is on CVS you could figure the answer,
being such a big advocate of open source =:)

Nonsense …


I suppose that is your way to say ‘thank you’.
You’re welcome.

  • igor
    Geez…If I didn’t know better, I’d think you two were married…

LOLROTFL :slight_smile:))

Igor Kovalenko wrote:

Armin Steinhoff wrote:

Igor Kovalenko wrote:

Armin Steinhoff wrote:

Hi all,

I have submitted a pidin command in the following format:

pidin -F “%I %N %p %J %B %c %d”

It shows that the size of the KERNEL code is 1.116 MEGA BYTES =:-(
Is this corrcet ???

You wrote:

Armin, since source of pidin is on CVS you could figure the answer,
being such a big advocate of open source =:)

Nonsense …


I suppose that is your way to say ‘thank you’.
You’re welcome.

Sorry, my first reply was not very polite … now I have to say
THANK YOU for that nomsense related to my relationship to the open
source community =:)

You are welcome

Armin






  • igor

John Bowen wrote:

[ clip …]
Come to think of it, this is my analysis…

  1. Reading > http://get.qnx.com/datasheet/whatis.html > (Infatuation phase)
  2. Downloading and installing RTP (Wedding)
  3. Running photon first time (Honeymoon)
  4. Trying to write an actual useful application (waking up one morning and
    seeing it without makeup on)

I depends on your (day) dreams and expectations. For instance … I
always thought that the semi graphical Watcom debugger would be the
lowest level of debugging tools … now I enjoy to work with it
under QNX4 :slight_smile:

However … to GNU tool chains doesn’t prevent you to develop useful
applications, it is just more or less inefficient to work with it.

Armin

I like this. We need to save this for future generations


Bill Caroselli - Sattel Global Networks
1-818-709-6201 ext 122



“John Bowen” <John.Bowen@grc.nasa.gov> wrote in message
news:9a027b$sv1$1@inn.qnx.com

Come to think of it, this is my analysis…

  1. Reading > http://get.qnx.com/datasheet/whatis.html > (Infatuation phase)
  2. Downloading and installing RTP (Wedding)
  3. Running photon first time (Honeymoon)
  4. Trying to write an actual useful application (waking up one morning and
    seeing it without makeup on)