Forum

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Bliss BETA

UserPost

11:34 am
April 12, 2010


Andrew

Admin

posts 2814

I have started working on a BETA for bliss. You can install it using these commands.

yum clean all

yum update

yum install bliss

12:29 pm
April 12, 2010


gravelld

London, UK

Member

posts 58

Thanks Andrew. I'll be around to answer any questions anyone has. I've not tried out Andrew's packaged beta myself yet, but will be doing over the next day or two.

For those asking "What's bliss?" – it's a music management application designed to be run on a server. At the moment, it only manages album art.

I'm the programmer of bliss – fully automated music management – http://www.blisshq.com

6:45 pm
April 15, 2010


Ron Olsen

Boulder, CO

Admin

posts 3894

Post edited 7:29 pm – April 15, 2010 by Ron Olsen


I posted a more detailed announcement for bliss in the General forum:

vortexbox.org/forum/general/bliss-cover-art-management-service-now-available-for-beta-testing/

to give the bliss announcement a wider audience.

I installed the bliss rpm (bliss version: 20100403) on my VortexBox Appliance and let it run on my music library.  I find that after it has analyzed all the cover art in my library and has identified alternative cover art for all the albums, it still uses 30% to 98% of CPU time, as shown by top.

This seems excessive, since there really is nothing bliss has to do at this point.  Is it continually rescanning my music library, looking for changes/additions?  If so, I think this needs to be changed to reduce CPU usage.

I would prefer it to not constantly scan my music library, but instead adopt the approach used by SqueezeBox Server, where a rescan of the music library must be initiated by the user, or else by the VortexBox software sending a Rescan request to SqueezeBox Server over its API port.

I would like to see:

1. When bliss finishes processing the music library, it stops active scanning for new music requiring cover art, and goes into a quiescent state.

2. A Rescan music library button added to bliss.

3. An API interface so the VortexBox software can send a Rescan request to bliss.

This should reduce CPU usage of bliss when it has nothing to do.

As it stands now, I shut down the bliss daemon and only turn it on when I need it.  This should not be necessary, but I have to do it since bliss is quite the CPU hog, even when my music library isn't changing, and I'm not using the bliss web interface.

11:23 pm
April 15, 2010


JimG

Member

posts 142

Ron,

Would lowering the Bliss process priority make any difference?  My guess is that it would not help, because it would still use the balance of the CPU. 

I guess the problem with high-percentage CPU use is that it draws more power, makes more heat, and runs the fan faster and more often to dump the heat.  I have noticed the fan noise when the VBA is busy.

1:22 am
April 16, 2010


Ron Olsen

Boulder, CO

Admin

posts 3894

The main problem with bliss chewing up CPU cycles is that it takes them away from CD ripping and encoding, music library scanning by SqueezeBox Server, and any transcoding SBS has to do to stream music to various players.

I don't mind bliss using the CPU when it has something productive to do, but not if it's constantly scanning a non-changing music library.

9:40 am
April 16, 2010


JimG

Member

posts 142

Thanks Ron,

First off, my questions are only intended to help me to understand Linux and VortexBox better.

1. If Bliss is now scanning the music collection constantly, it's probably 
     running disk seeks constantly.  That cannot be good for the drive.
     It that correct?

2. Would lowering Bliss's priority preserve CPU cycles for ripping, encoding,
     and SBS scanning and solve that problem?

11:47 am
April 16, 2010


gravelld

London, UK

Member

posts 58

Hi Ron!

I installed the bliss rpm (bliss version: 20100403) on my VortexBox Appliance and let it run on my music library.  I find that after it has analyzed all the cover art in my library and has identified alternative cover art for all the albums, it still uses 30% to 98% of CPU time, as shown by top.

This seems excessive, since there really is nothing bliss has to do at this point.  Is it continually rescanning my music library, looking for changes/additions?  If so, I think this needs to be changed to reduce CPU usage.

Yep, that's way too much. Even on my home server when bliss is actually doing something it doesn't go above 50% much.

Regarding scanning: bliss does not scan, on Linux it uses inotify, a notification mechanism for file changes. This should mean it gets told about file changes which is more efficient, rather than rescanning to find them.

However, if bliss has finished its work and it's still using that much CPU there must be something wrong, so I want to solve this! A first step that would help me would be if you could send me your logs (/tmp/bliss.log.*)

This week I have been working on some performance/memory consumption improvements prompted by a customer who was having memory and CPU trouble (although on Windows). It turned out he had several directories with a lot ( > 100, some with ~400) of tracks inside, all from different albums. This caused high memory usage. I tracked down the issue and fixed it. This has been tested in his installation and will be released as a general beta this weekend. If you like, we could give it a whirl on your VortexBox.

I think your suggestions regarding a rescan button sound reasonable because some people may rather just work this way. Could you add it to the UserVoice page?

I'm the programmer of bliss – fully automated music management – http://www.blisshq.com

4:11 pm
April 19, 2010


gravelld

London, UK

Member

posts 58

Ron pointed out to me by email that he'd noticed the CPU usage increased markedly when the web interface is open, and for a good while afterwards.

Having tested this in a number of ways, I agree. Having measured the usage by various parts of the application, I am working on some efficiencies that should hopefully lower this CPU usage.

I'll keep you posted on how things go.

I'm the programmer of bliss – fully automated music management – http://www.blisshq.com

5:33 pm
April 19, 2010


toaster75

Member

posts 39

I have installed Bliss but it doesnt work. I have included the install text which displays a problem with starting the deamon. I have tried starting manually to no avail. Is there anything i can do?

Thanks in advance.

[vortexbox.localdomain ~]# yum install bliss
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package bliss.i586 0:1.0-1 set to be updated
–> Finished Dependency Resolution

Dependencies Resolved

==========================================================================
 Package                                Arch
==========================================================================
Installing:
 bliss                                  i586

Transaction Summary
==========================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 6.6 M
Is this ok [y/N]: y
Downloading Packages:

Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : bliss-1.0-1.i586                                                  1/1
[ Starting to unpack ]
[ Processing package: bliss (1/1) ]
[ Unpacking finished ]
[ Console installation done ]
Stopping bliss daemon: [  OK  ]
Starting bliss daemon: /bin/bash: daemonize: command not found
[FAILED]

Installed:
  bliss.i586 0:1.0-1

Complete!
[vortexbox.localdomain ~]#

5:36 pm
April 19, 2010


Andrew

Admin

posts 2814

toaster75 said:

I have installed Bliss but it doesnt work. I have included the install text which displays a problem with starting the deamon. I have tried starting manually to no avail. Is there anything i can do?


yum install daemonize

5:42 pm
April 19, 2010


toaster75

Member

posts 39

ok thats seems to be running now. Will report back later.

Thx

6:33 pm
April 19, 2010


Ron Olsen

Boulder, CO

Admin

posts 3894

Andrew said:

yum install daemonize


The bliss rpm should be updated to include this dependency.

10:22 pm
April 19, 2010


paltomare

Member

posts 106

How can I delete Bliss from my VBA?

I did a yum remove bliss, restarted the unit but BL still shows in the GUI.

10:24 pm
April 19, 2010


Andrew

Admin

posts 2814

Bill is in BETA we are woking on a way to fully remove it.

12:03 am
April 20, 2010


Ron Olsen

Boulder, CO

Admin

posts 3894

paltomare said:

How can I delete Bliss from my VBA?

I did a yum remove bliss, restarted the unit but BL still shows in the GUI.

rm -rf /opt/bliss

rm -rf /etc/rc.d/*/*bliss

9:41 am
April 20, 2010


paltomare

Member

posts 106

That seems to have done it, thank you.

Can I assume it is now competly gone?

2:43 pm
April 20, 2010


Ron Olsen

Boulder, CO

Admin

posts 3894

Yes.

9:42 am
April 25, 2010


gravelld

London, UK

Member

posts 58

A new beta build was released today with CPU usage improvements with regard the UI. I'm hoping to have these improvements released next week.

I'm the programmer of bliss – fully automated music management – http://www.blisshq.com

3:44 pm
April 29, 2010


Andrew

Admin

posts 2814

I just uploaded the latest version of Bliss. It should resolve all the problems users are having.

12:47 am
April 30, 2010


wizardofoz

wizardofoz

Member

posts 178

wish there was a MAC version of Bliss ….

mind you if it can work well on the VB/A then thats a really good start


About the forum.vortexbox.org Forum

Forum Timezone: UTC -5

Most Users Ever Online: 77

Currently Online:
4 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 1
Forums: 4
Topics: 3281
Posts: 21023

Membership:

There are 2132 Members
There have been 2 Guests

There are 2 Admins

Top Posters:

James – 320
hifihere – 316
HalfBit – 315
socistep – 195
garym – 190
wizardofoz – 178

Recent New Members: robmcpeak, El Baterista, mafia3272, flathead, belcampo, kingnordi

Administrators: Ron Olsen (3894 Posts), Andrew (2814 Posts)