Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using voice_text with sound_play occurs high load? #1401

Closed
furushchev opened this issue May 28, 2016 · 7 comments
Closed

using voice_text with sound_play occurs high load? #1401

furushchev opened this issue May 28, 2016 · 7 comments

Comments

@furushchev
Copy link
Member

I suspect that sound_play process with japanese voice (voice_text) make cpu load super high on PR2 real robot when deployed long time.

Once PR2 cpu load is over 50, which is too high to perform any task, and soon after rosnode kill sound_node_jp, cpu load is back to just 6.

I'm not yet sure what part are actually problem, but I just wanted to notify this.

@k-okada
Copy link
Member

k-okada commented May 30, 2016

do you mean the cpu load is not so high just after starting pr2.launch and
becomes 50 after few hours?

◉ Kei Okada

On Sun, May 29, 2016 at 12:30 AM, Furushchev notifications@github.com
wrote:

I suspect that sound_play process with japanese voice (voice_text) make
cpu load super high on PR2 real robot when deployed long time.

Once PR2 cpu load is over 50, which is too high to perform any task, and
soon after rosnode kill sound_node_jp, cpu load is back to just 6.

I'm not yet sure what part are actually problem, but I just wanted to
notify this.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#1401, or mute the
thread
https://github.com/notifications/unsubscribe/AAeG3Dk7pT58cWdC9jUk2z-nm-t_eauYks5qGF-VgaJpZM4IpGSL
.

@furushchev
Copy link
Member Author

furushchev commented May 30, 2016

@k-okada after a lot of say ing, I think. I suspect that sound_play process has a lot of file descriptors left to be open.

@k-okada
Copy link
Member

k-okada commented May 30, 2016

https://github.com/ros-drivers/audio_common/blob/hydro-devel/sound_play/scripts/soundplay_node.py
uses threading so that's may be problem?

◉ Kei Okada

On Mon, May 30, 2016 at 12:42 PM, Kei Okada k-okada@jsk.t.u-tokyo.ac.jp
wrote:

do you mean the cpu load is not so high just after starting pr2.launch
and becomes 50 after few hours?

◉ Kei Okada

On Sun, May 29, 2016 at 12:30 AM, Furushchev notifications@github.com
wrote:

I suspect that sound_play process with japanese voice (voice_text) make
cpu load super high on PR2 real robot when deployed long time.

Once PR2 cpu load is over 50, which is too high to perform any task, and
soon after rosnode kill sound_node_jp, cpu load is back to just 6.

I'm not yet sure what part are actually problem, but I just wanted to
notify this.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#1401, or mute the
thread
https://github.com/notifications/unsubscribe/AAeG3Dk7pT58cWdC9jUk2z-nm-t_eauYks5qGF-VgaJpZM4IpGSL
.

@furushchev
Copy link
Member Author

I think the main reason of high load is comming from keeping many file descriptors.
Opened issue at upstream.
ros-drivers/audio_common#75

@furushchev
Copy link
Member Author

furushchev commented Jul 1, 2016

Sent Pull request to upstream. ros-drivers/audio_common#77
Now I'm working on porting to hydro with minimum change.
(But some bugs cannot be fixed in minimum change)

@furushchev
Copy link
Member Author

done ros-drivers/audio_common#78

@furushchev
Copy link
Member Author

furushchev commented Jul 1, 2016

created deb binary for hydro
ros-hydro-sound-play_0.2.99-0precise_amd64.zip
NOTE please pay an attention to version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants