xiaoxiang781216 commented on PR #10605:
URL: https://github.com/apache/nuttx/pull/10605#issuecomment-1722279026

   > > > > You should try to stress it more to see if you don't hit any 
dead-locking on one cpu, process timing is important, so try to process heavy / 
greedy calls in each context, like allocating, read-write file, socket streams 
(triggering nasty interrupts in the middle), leaking memory on purpose, calls 
to getpid and alike, anything that is known to be resource system intensive.
   > > > 
   > > > 
   > > > I have two question:
   > > > ```
   > > > 1. mem allocating and  read-write file seems to use mutex, is it means 
that I have to modify these to use fair spinlock ?
   > > > 
   > > > 2. How can I test performance, can I test it on qemu? I have no 
physical board.
   > > > ```
   > > > 
   > > > 
   > > >     
   > > >       
   > > >     
   > > > 
   > > >       
   > > >     
   > > > 
   > > >     
   > > >   
   > > > Could you explain more detail?
   > > 
   > > 
   > > I think you can use QEMU or even the SIM on Linux, but you will need to 
add some instrumentation to confirm everything is working as expected.
   > 
   > I try following 
[doc](https://nuttx.apache.org/docs/latest/guides/tasktraceuser.html) to enable 
INSTRUMENTATION. But the result shows <img alt="image" width="1440" 
src="https://user-images.githubusercontent.com/33004323/268450133-e18063b3-1c0d-45b0-bea2-662dc993d776.png";>
   > 
   > This result is different from what I excepted. Is the reason is encode my 
shell and ash?
   
   You need redirect the output to file and open it with 
https://ui.perfetto.dev/ or https://eclipse.dev/tracecompass/.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to