Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - phenigma

Pages: 1 ... 110 111 [112] 113 114 ... 118
1666
Predominantly my Windows Orbiter.

The behaviour:
device, time uncached, time cached
WinOrbiter, ~7s, <1s (UI1)
Nokia N800, ~10s, ~3s (UI1)
WebDT 366, ~7s, ~2s (UI1)
p42.8 Core, ~7s, <1s (UI2 mask)
Zotac ION MD, ~7, <1s (UI2 mask)

When the query is executed and not present in the cache, top shows mysql using 90-100% of the processor for nearly the entire 7s time period, and it doesn't even show up as a blip in top when the query is in the cache.  I'm about to investigate some of the slow query logging options Viking pointed out and see what I can find out.

J.

1667
Artwork may be a contributing factor then, almost all of my media has artwork.  I can see the memory being allocated for the query in mysql when I select Audio or Video button in orbiter (takes ~7s).  The Audio query occupies a about 570Kb in the cache on my system.  I return to the home menu and select audio, the artists now display in about 0.5s.  As I monitor the cache in mysql after a couple minutes a 570kb chunk is freed from the cache memory.  Selecting audio again takes ~7s and about 570kb is added to the query_cache.  Mysql is abosolutely removing the query from the cache every few minutes on my system.  I'm not home from work yet but I'm going to dig around a bit more when I get home.

J.

1668
Thanks Viking, I'll do some more investigating when I get home from work.

J.

1669
Without actually looking, I think I have about 600 videos and around 800 or 900 artists in my audio folders.

The response time is the same regardless of the orbiter I use (n800,webdt,onscreen), UI1 or 2, core or MD.  It takes about 7 seconds from click/touch to display of the datagrid.  When I do this the query is cached by query_cache in mysql and choosing audio/video again immediately is very responsive from click/touch to display of the datagrid, 0.5 seconds on my windows orbiter to about 3 seconds on my WebDT.  Response is the same now as it was under 0710, I'm currently running 0810 Alpha 2.37.

The responsiveness lasts for a couple minutes, until the query is removed from the cache, and then it takes about 7 seconds to re-rerun the query and re-store the results in mysql query_cache for another couple of minutes.  I can only assume that UpdateMedia is writing to the table but I'm speculating.

J.

1670
I was looking at query_cache a little last night.  Most of the use/config seems transparent and efficiencies come by writing less frequently to tables.  Essentially a cached query is dropped from the cache when a write is made to a table used in the cached query.

Example: Queries that bring up the Audio/Video file lists from orbiter execute in about 7s when not in the query_cache and in about 0.5s when they are in the query_cache (on my system).  Some of these large queries are not cached for enough time (because of a write to a table used in the query) to make them really useful (like the audio/video file lists).  Update media may be writing to the media tables even when media has not changed, which is clearing these queries from the cache (I havn't even begun to look at updatemedia).

I have not looked past this yet but was intrigued by the initial improvements from Viking's index additions and did a little bit of poking around.

J.

1671
Installation issues / Re: beta-problem with MD
« on: November 16, 2009, 04:41:43 pm »
Any idea when the 810 beta 2 will be released? As I understand it that version is supposed to fix some of the issues that are in the 810 beta relating to MKV playback.

The devs have been working extremely hard to quash some large bugs and overcome issues introduced by changes in third party repositories.  I am certain that as soon as a viable dvd install is ready the next beta will be announced and released.

J.

1672
I tried this on my production system with about 41000 rows in the pluto_media table.

The indexes have reduced the period of time mysqld pegs my processor at 100%.

I monitor my core with monitorix and rrdtool, it's a P4 2.8G hyperthreaded cpu with 1GB ram.  It looks like adding the indexes created an average reduction of ~7% kernel usage, load average has dropped from about 1.0-1.1 average to 0.6-0.7 average.  IOWaits have also been cut in half of what they were.  The one day change is noticeable looking at my week and month summary charts.  I'm going to keep my eye on it to see if it's consistent.

J.

1673
Users / Re: MD Question
« on: November 14, 2009, 06:19:10 pm »
Just as Andrew says.

I really like my Zotac ION 330, VGA, DVI, HDMI, Optical Digital.  I have not tried the HDMI video or Audio myself but others have here on the forums.  Netboots without a HD, quiet (the 330 DOES have a heatsink fan,  but its quieter than my PS3 at idle), low power consumption (~24Watts idle, ~26 Watts in 1080P decode with VDPAU).  I highly recommend it.

The Acer Aspire Revo is a really nice unit in a great VESA mountable form factor with a hard drive and ION graphics, the only reason I didn't go with the Revo was that it did not support the optical digital output I currently use for audio.

I highly recommend an ION based system for a Media Director for use with HD content in a small form factor.

J.

1674
Installation issues / Re: DVD vs CD Installation
« on: November 14, 2009, 05:57:21 pm »
How should I install a core system with the new linuxMCE distribution (I have some previous experience in installing 710 version).

There is currently no option to install a core only system.  You may be able to install a complete hybrid and then turn off the media-director portion of the system in pluto.conf.  I think that many people are simply installing a hybrid with UI1.

J.

1675
Users / Re: Start_NewMD_interactor.sh takes a lot of CPU
« on: November 13, 2009, 06:18:45 pm »
I have noticed that on my system /usr/pluto/bin/Start_NewMD_interactor.sh takes a lot of CPU.

Have you checked to see if more than one copy of the script is running?  I had this issue after an update about a month ago and found that 2 copies of the script were launched.  I did a 'sudo kill xxxx' to kill the 2nd process and my CPU usage dropped to normal levels.  I think I performed a re-install and the problem did not return afterwards so I am unsure what caused the 2nd script to be executed in the first place.  If I recall correctly I had 2 copies of many things that launched erroneously on boot during that time period.

J.

1676
Users / Re: Some technical questions about the graphical resolution.
« on: November 13, 2009, 01:53:01 pm »
Would there be any incompatibility using the 2.28 kernel (from jaunty)? On another partition i tested kubuntu 8.10 with 2.28 kernel and got hdmi audio working.....
TIA, Paulo

I don't know enough about your graphical issues/questions to comment right now, but I am running kernel 2.6.31 on an MD and have had no problems/issues/conflicts of any kind.

J.

1677
Users / Re: Mythtv problems in 810 beta
« on: November 03, 2009, 11:21:15 pm »
2009-11-03 15:12:53.708 Source 1 configured to use only the broadcasted guide data. Skipping.

Run mythtv-setup from the computing menu and make sure you have your source configured properly.  Mythfilldatabase doesn't think you have an external epg source defined.

J.

1678
Users / Re: thezfunk LinuxMCE Project build
« on: October 31, 2009, 02:13:05 am »
Hmm. I followed this, and changed the root pw, but this isn't reflected on the MD. Do I need to 'rebuild  image' on the admin site?

If you rebuild the image from the admin site the root password on that MD will be reset and you will have to perform these steps to set the root password again.

J.

1679
Installation issues / Re: IR problems with 8.10 BETA. Grrrr.
« on: October 30, 2009, 07:10:01 pm »
That's good to know. Do you have to go through Advanced -> IR Codes to contorl your AV Equipment?

Nope.  Once the device templates are properly defined and you define the audio and video pipes correctly in Web Admin -> Wizard -> Devices -> A/V Equipment - Connection Wizard, LMCE will automatically turn on/off devices and set the proper inputs on all the devices it knows about... automatically.  Then I use my tablet or webdt or nokia (or mce remote, etc...) to change channels or access my satellite receiver and LMCE sends all the IR commands automatically.

J.

1680
Installation issues / Re: black screen with cursor after avwizard
« on: October 30, 2009, 06:56:01 pm »
hi there - I just installed fresh 810 from the dvd, rebooted and went through the avwizard. Avwizard finished, and it hasn't done anything since then - just sitting there with a black screen and white arrow cursor, but nothing else going on. I can access web admin page, but there are "no users in database", so clearly it's not properly configured.

What do I do? just hard reboot? reboot from shell?
continually stymied,
stephane

First of all welcome to LinuxMCE!

The system is undergoing a lot of development right now and many issues have surfaced that people have been working through.  I have not encountered the issue you speak of myself but... I would first suggest doing a little searching on the forums for your issue.  A search of "black screen" brings up a bunch of posts which may relate to your problem:

Topic: SOLVED: Black screen with mouse pointer on Core (0810 alpha 2.31)
http://forum.linuxmce.org/index.php?topic=8820.0

Topic: LinuxMCE Black Screen (Solved)
http://forum.linuxmce.org/index.php?topic=5364.0

Topic: [solved] Black screen after starting X-Server
http://forum.linuxmce.org/index.php?topic=3220.msg16195#msg16195

Hmm, are you using an nVidia card?  This poster had an issue similar to yours and found a solution.
http://forum.linuxmce.org/index.php?topic=8700.msg60940#msg60940

Check that last one first if you`re using an nVidia card.  

Good luck!

J.

Pages: 1 ... 110 111 [112] 113 114 ... 118