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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.