Menu

ps_process_raw running slowly

Help
2016-06-30
2016-06-30
  • Mike McDermott

    Mike McDermott - 2016-06-30

    I'm running pocketsphinx with microphone input within the Unity game engine and on my computer it runs beautifully. Problem is, that it runs much slower on computers with less processor/memory (my computer has 24.0GB memory and an i7 processor, another machine I am testing has 8.0GB RAM and an i5 processor).

    I've tried tuning some of the settings in Pocketsphinx (i.e. setting -ds=2 instead of 1), but it doesn't seem to help. I am absolutely sure the bottleneck is the ps_process_raw command, as I debugged the command on a slow computer versus a fast one and it is much slower on the slower computer.

    Is the ps_process_raw command where the pocketsphinx settings like -ds and -topn matter, or does that only matter within ps_get_hyp? Do I just need to optimize for performance more? If so, which settings will help speed up ps_process_raw specifically?

    Thanks

     

    Last edit: Mike McDermott 2016-06-30
    • Nickolay V. Shmyrev

      It is not related to memory at all and you definitely should not use -ds.

      To get more precise help you need to provide pocketsphinx log.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.