Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - New to Adaptive Partitioning, problems on PXA270: Page 1 of 41 (41 Items)
   
New to Adaptive Partitioning, problems on PXA270  
As a first task I'd like to set up a debug partition so a user can telnet and log into a heavily loaded target.

A debug partition was set up : aps -b10 DevDebug

Then io-net and inetd are launched into the DevDebug partition.

pidin sched shows that io-net and inetd are running in the new partition.

After telneting into an unloaded system pidin shows that telnetd and sh are also assigned to the new partition.

But... when the system is heavily loaded we cannot telnet into the target. If we telnet into an unloaded target, then 
apply the load, the shell becomes unresponsive until the system again becomes unloaded. If the load continues telnet 
eventually disconnects.

It sort of seems like AP isn't working. I thought that maybe the flash driver and inflator needed to also be in the new 
partition so commands could be loaded from flash, but shouldn't those threads inherit the new partition?

Heres the output of aps show:
                    +---- CPU Time ----+-- Critical Time --
Partition name   id | Budget |    Used | Budget |      Used
--------------------+------------------+-------------------
System            0 |    90% |  37.26% |  100ms |   0.000ms
DevDebug          1 |    10% |  62.69% |    0ms |   0.000ms
--------------------+------------------+-------------------
Total               |   100% |  99.95% |

Here's the output of pidin sched:

     pid tid name               prio cpu ExtSched             STATE      
       1   1 procnto              0f   0 System               READY      
       1   2 procnto             70r   0 System               RECEIVE    
       1   3 procnto             10r   0 System               RECEIVE    
       1   4 procnto             10r   0 System               RECEIVE    
       1   5 procnto             10r   0 System               RECEIVE    
       1   6 procnto             10r   0 System               RECEIVE    
       1   7 procnto             70r   0 System               RECEIVE    
       1   8 procnto             10r   0 DevDebug             RUNNING    
       1   9 procnto             10r   0 System               RECEIVE    
       1  10 procnto             10r   0 System               RECEIVE    
       2   1 ot/devf-dbpxa270dp  10r   0 System               SIGWAITINFO
       2   2 ot/devf-dbpxa270dp  10r   0 System               RECEIVE    
       2   3 ot/devf-dbpxa270dp  10r   0 System               RECEIVE    
       2   5 ot/devf-dbpxa270dp  10r   0 System               RECEIVE    
       2   6 ot/devf-dbpxa270dp  10r   0 System               RECEIVE    
       3   1 oot/devc-serpxa250  10r   0 System               RECEIVE    
       4   1 proc/boot/slogger   30r   0 System               RECEIVE    
       5   1 proc/boot/pipe      10r   0 System               SIGWAITINFO
       5   2 proc/boot/pipe      10r   0 System               RECEIVE    
       5   3 proc/boot/pipe      10r   0 System               RECEIVE    
       5   4 proc/boot/pipe      10r   0 System               RECEIVE    
       5   5 proc/boot/pipe      10r   0 System               RECEIVE    
    8199   1 sbin/inflator       10r   0 System               RECEIVE    
    8199   2 sbin/inflator       10r   0 System               RECEIVE    
    8199   3 sbin/inflator       10r   0 System               RECEIVE    
    8199   4 sbin/inflator       24r   0 System               RECEIVE    
   53256   1 sbin/io-net         10r   0 DevDebug             SIGWAITINFO
   53256   2 sbin/io-net         21r   0 DevDebug             RECEIVE    
   53256   3 sbin/io-net         18r   0 DevDebug             RECEIVE    
   53256   4 sbin/io-net         10r   0 DevDebug             RECEIVE    
   53256   5 sbin/io-net         21r   0 DevDebug             RECEIVE    
   53256   6 sbin/io-net         17f   0 DevDebug             CONDVAR    
   53256   7 sbin/io-net         10r   0 DevDebug             RECEIVE    
   53256   8 sbin/io-net         18r   0 DevDebug       ...
View Full Message