twonky and subsonic

Request a package to be made here. Make sure you have searched before requesting.

Re: twonky and subsonic

Postby pepedog » Thu Mar 03, 2011 11:20 am

I just changed the dependancy jre to openjdk6 (in the PKGBUILD) and subsonic built.
The rc.d script is suspect, but it seems to be running.
pepedog
Developer
 
Posts: 1670
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: twonky and subsonic

Postby ch33ky » Thu Mar 03, 2011 6:03 pm

pepedog wrote:I just changed the dependancy jre to openjdk6 (in the PKGBUILD) and subsonic built.


That did the trick, thanks!
ch33ky
 
Posts: 2
Joined: Sun Jan 16, 2011 11:02 am

Re: twonky and subsonic

Postby pepedog » Thu Mar 03, 2011 6:15 pm

I wonder if a meta package called ire that installs openjdk6 would have helped with this?
Wow,using 2 thumbs typing on an iPad
pepedog
Developer
 
Posts: 1670
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: twonky and subsonic

Postby scatleguy » Wed May 25, 2011 8:15 am

At the moment I have succesfully installed Subsonic on my pink Pogoplug (thanks to this topic). It works like it should, the only problem now is that the java process is constantly consuming 100% of the cpu. This means that loading a webpage in my browser from Subsonic takes minutes and most of the time it times out. I've tried installing Subsonic based on openjdk6 and openjre7, but there is no difference there. Also I tried to configure Subsonic with about 100GB of music (on an USB disk) and also with less than 100MB in /var/music (local), also no difference there.

I figured that maybe the Pogoplug just takes a very long time to create its Subsonic index database, but even after more than 12 hour there is no change in cpu usage.

So now I'm stuck. It works, but it's unbearably slow and thus unusable. Does anyone has a clue on how I can get the java process to ease down? Maybe there's an alternative for jave or maybe an other version? Or is it just the Pogoplug's hardware that isn't capable of running a java process properly?
scatleguy
 
Posts: 11
Joined: Wed May 25, 2011 7:35 am

Re: twonky and subsonic

Postby devr » Wed May 25, 2011 3:50 pm

Which Java are you using Oracle's or the open java available in from pacman ? I have the same setup, Pink pogo running subsonic and it runs just fine. When I first tested using the open java version, it was very.. very... slow. Not sure about the 100% cpu. I downloaded Oracle's arm java binary tar, and it was much faster. Since then I haven't looked back. I did not dig deeper into why open java was so much slower or resource hungry.
devr
 
Posts: 77
Joined: Wed May 11, 2011 12:22 am

Re: twonky and subsonic

Postby scatleguy » Thu May 26, 2011 11:11 am

devr wrote:Which Java are you using Oracle's or the open java available in from pacman ? I have the same setup, Pink pogo running subsonic and it runs just fine. When I first tested using the open java version, it was very.. very... slow. Not sure about the 100% cpu. I downloaded Oracle's arm java binary tar, and it was much faster. Since then I haven't looked back. I did not dig deeper into why open java was so much slower or resource hungry.

I'm using the open java from pacman (openjre7). It sounds like a good tip to try Oracle's arm java, I haven't thought of that. I have been looking on the web, but couldn't find a right version to download. Do you have a download link or something like that?
scatleguy
 
Posts: 11
Joined: Wed May 25, 2011 7:35 am

Re: twonky and subsonic

Postby scatleguy » Thu May 26, 2011 11:35 am

devr wrote:Which Java are you using Oracle's or the open java available in from pacman ? I have the same setup, Pink pogo running subsonic and it runs just fine. When I first tested using the open java version, it was very.. very... slow. Not sure about the 100% cpu. I downloaded Oracle's arm java binary tar, and it was much faster. Since then I haven't looked back. I did not dig deeper into why open java was so much slower or resource hungry.

Ok, I posted too quickly. I've found the ARM binairies here https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SingleVariationTypeFilter. I've downloaded the ARM5 version, untarred it, and added the "...../bin" path to $PATH.

No I have a new challenge, what do I fill in in the PKGBUILD at 'depends' when installing Subsonic from yaourt? I tried 'ejre1.6.0', 'jre' and 'ejre' but no luck, the target cannot be found. Any tips?

This is my output from any given path:
Code: Select all
[root@Arch Linux ARM bin]# java -version
java version "1.6.0_21"
Java(TM) 2 Runtime Environment, Standard Edition for Embedded (build 1.6.0_21-b09, headless)
Java HotSpot(TM) Client VM (build 19.0-b02, mixed mode)
scatleguy
 
Posts: 11
Joined: Wed May 25, 2011 7:35 am

Re: twonky and subsonic

Postby pepedog » Thu May 26, 2011 11:47 am

Try taking jre out of depends altogether. It's just for you only, after all?
These depends are just for stuff to be installed with pacman install, you are installing with tar binary.
pepedog
Developer
 
Posts: 1670
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: twonky and subsonic

Postby scatleguy » Thu May 26, 2011 11:55 am

pepedog wrote:Try taking jre out of depends altogether. It's just for you only, after all?
These depends are just for stuff to be installed with pacman install, you are installing with tar binary.

Thanks for your tip, I just figured the same thing myself. And now I'm very glad, because that did the trick! I've now running Subsonic, indexing my 100GB of music and there hasn't been a moment that the CPU was working for 100%. It's running very smoothly. Thanks for all your help! Now I'm gonna try adding a lame decoder, next challenge. I will post my findings.
scatleguy
 
Posts: 11
Joined: Wed May 25, 2011 7:35 am

Re: twonky and subsonic

Postby scatleguy » Thu May 26, 2011 12:58 pm

Ok, lame works. I've installed it with pacman
Code: Select all
pacman -Sy lame

Then I copied the lame binairy from /usr/bin to /var/subsonic/transcode. Now when I open a song on my Android phone, the file gets perfectly transcoded like it should but the whole experience gets dead slow. The lame process consumes 100% CPU for minutes for just one song.

Does anyone knows a better or more efficient lame binairy?
scatleguy
 
Posts: 11
Joined: Wed May 25, 2011 7:35 am

PreviousNext

Return to Package Requests

Who is online

Users browsing this forum: No registered users and 1 guest