Overclockers Australia Forums
OCAU News - Wiki - QuickLinks - Pix - Sponsors  

Go Back   Overclockers Australia Forums > Software Topics > Other Operating Systems

Notices


Sign up for a free OCAU account and this ad will go away!
Search our forums with Google:
Reply
 
Thread Tools
Old 8th April 2011, 12:58 AM   #3931
HyRax1
48656C6C6F20576F726C6421
 
HyRax1's Avatar
 
Join Date: Jun 2001
Location: At a desk. Distro:Ubuntu
Posts: 7,078
Default

Quote:
Originally Posted by kizzav View Post
I'm 2 for 2! Fixed an audio/slo-mo playback issue a few posts above & now your image tearing issue. WTF!?!?
I know... I'm scared too.
__________________
If practice makes perfect, and nobody's perfect, why practice?
HyRax1 is offline   Reply With Quote

Join OCAU to remove this ad!
Old 8th April 2011, 10:21 AM   #3932
dave-
Member
 
Join Date: Jul 2003
Location: Melbourne
Posts: 1,093
Default

Quote:
Originally Posted by HyRax1 View Post
Clearly the NVidia compositing option is totally separate to Compiz compositing.
LOL I didn't even suggest that because I figured you'd have been all over it already hehe
dave- is offline   Reply With Quote
Old 8th April 2011, 11:17 AM   #3933
HyRax1
48656C6C6F20576F726C6421
 
HyRax1's Avatar
 
Join Date: Jun 2001
Location: At a desk. Distro:Ubuntu
Posts: 7,078
Default

Quote:
Originally Posted by dave- View Post
LOL I didn't even suggest that because I figured you'd have been all over it already hehe
Well I had everything else related to compositing disabled, and I never realized that NVidia's compositing was a separate function to Compiz's compositing. Ah well, you learn something new everyday!
__________________
If practice makes perfect, and nobody's perfect, why practice?
HyRax1 is offline   Reply With Quote
Old 8th April 2011, 6:58 PM   #3934
kizzav
Member
 
kizzav's Avatar
 
Join Date: Mar 2005
Location: Sydney
Posts: 2,086
Default

I'm hoping to buy a GT210 & another Hauppauge MCE remote kit tomorrow, but I'm also contemplating on buying some more RAM for my backend.

MythTV claims that 99% of my 2GB DDR3 1333 (sadly because of the nature of the mobo, downgrades to 1066, single channel I suspect) is being used, leaving a few MB's left or less.

However, the System Monitor tells a different story, nothing like the info MythTV is producing.

Is it worth getting another 2GB DDR3 or not?

On a side note, if I'm watching a recording on the ION (frontend only) & my brother is watching recordings via MythWeb, is there any explanation as to why the MythWeb stream would freeze every so often for half a second?
__________________
My system: Antec 300 | i5 750 | GA-P55A-UD5 | 4GB DDR3 1333Mhz | WD 1TB Black | 2TB ST2000DL003 | GB 5850 1GB | Corsair HX-650 | BenQ G2420HD 24" | Win 7 Pro (64bit) | MythTV FE/BE: Antec 200 | E6600 | G41MT-S2P | 2GB DDR3 1333Mhz | 4x 2TB ST2000DL003 RAID5/LVM | G210 512MB | 2x Sony Play TV's | Ubuntu Server 10.04 | MythTV FE #1: Asrock ION 330 | 2GB DDR2 800Mhz | 320GB Seagate | Hauppauge MCE remote | Ubuntu 11.04 | MythTV FE #2: Asrock ION 3D | 2GB DDR2 800Mhz | 320GB WD | Ubuntu 11.04

Last edited by kizzav; 8th April 2011 at 7:15 PM.
kizzav is offline   Reply With Quote
Old 8th April 2011, 7:31 PM   #3935
daehenoc
Member
 
daehenoc's Avatar
 
Join Date: Nov 2005
Location: Mt Gravatt E, BNE, QLD
Posts: 1,285
Default

Hey, does anyone know if mythfront end is available on the powerpc architecture? It doesn't seem to be available??
daehenoc is offline   Reply With Quote
Old 8th April 2011, 8:55 PM   #3936
HyRax1
48656C6C6F20576F726C6421
 
HyRax1's Avatar
 
Join Date: Jun 2001
Location: At a desk. Distro:Ubuntu
Posts: 7,078
Default

Quote:
Originally Posted by kizzav View Post
MythTV claims that 99% of my 2GB DDR3 1333 (sadly because of the nature of the mobo, downgrades to 1066, single channel I suspect) is being used, leaving a few MB's left or less.

However, the System Monitor tells a different story, nothing like the info MythTV is producing.

Is it worth getting another 2GB DDR3 or not?
Check what top says in a terminal. If there is a significant amount of swap being used, then yes - consider more RAM. If no swap is being used, or very little is being used, then you don't need any more.

Quote:
Originally Posted by kizzav View Post
On a side note, if I'm watching a recording on the ION (frontend only) & my brother is watching recordings via MythWeb, is there any explanation as to why the MythWeb stream would freeze every so often for half a second?
Are you reading from a single drive on your backend? If so, then you should make sure you have AHCI enabled in your backend's BIOS to help prevent requests spamming the drive. Remember that the Frontend buffers video as it plays while playing from MythWeb more or less relies on the buffering your media player will do.

Quote:
Originally Posted by daehenoc View Post
Hey, does anyone know if mythfront end is available on the powerpc architecture? It doesn't seem to be available??
Not that I'm aware of - support for the PowerPC in general appears to be pretty low now.
__________________
If practice makes perfect, and nobody's perfect, why practice?
HyRax1 is offline   Reply With Quote
Old 8th April 2011, 9:20 PM   #3937
kizzav
Member
 
kizzav's Avatar
 
Join Date: Mar 2005
Location: Sydney
Posts: 2,086
Default

Quote:
Originally Posted by HyRax1 View Post
Check what top says in a terminal. If there is a significant amount of swap being used, then yes - consider more RAM. If no swap is being used, or very little is being used, then you don't need any more.
While playing a 720p recording on the ION, this is the backend's results....


Click to view full size!


On a side note, what is it you do to kill all the fancy desktop effects?
__________________
My system: Antec 300 | i5 750 | GA-P55A-UD5 | 4GB DDR3 1333Mhz | WD 1TB Black | 2TB ST2000DL003 | GB 5850 1GB | Corsair HX-650 | BenQ G2420HD 24" | Win 7 Pro (64bit) | MythTV FE/BE: Antec 200 | E6600 | G41MT-S2P | 2GB DDR3 1333Mhz | 4x 2TB ST2000DL003 RAID5/LVM | G210 512MB | 2x Sony Play TV's | Ubuntu Server 10.04 | MythTV FE #1: Asrock ION 330 | 2GB DDR2 800Mhz | 320GB Seagate | Hauppauge MCE remote | Ubuntu 11.04 | MythTV FE #2: Asrock ION 3D | 2GB DDR2 800Mhz | 320GB WD | Ubuntu 11.04

Last edited by kizzav; 8th April 2011 at 9:26 PM.
kizzav is offline   Reply With Quote
Old 8th April 2011, 9:39 PM   #3938
HyRax1
48656C6C6F20576F726C6421
 
HyRax1's Avatar
 
Join Date: Jun 2001
Location: At a desk. Distro:Ubuntu
Posts: 7,078
Default

Quote:
Originally Posted by kizzav View Post
While playing a 720p recording on the ION, this is the backend's results....

pix
A whole 3.5MB is going to swap. Woo... You don't need an upgrade.

Quote:
Originally Posted by kizzav View Post
On a side note, what is it you do to kill all the fancy desktop effects?
System menu->Preferences->Appearance->Visual Effects->None.
__________________
If practice makes perfect, and nobody's perfect, why practice?
HyRax1 is offline   Reply With Quote
Old 8th April 2011, 9:51 PM   #3939
kizzav
Member
 
kizzav's Avatar
 
Join Date: Mar 2005
Location: Sydney
Posts: 2,086
Default

Quote:
Originally Posted by HyRax1 View Post
A whole 3.5MB is going to swap. Woo... You don't need an upgrade.
That 3.5MB was used earlier this afternoon.

If my calculations are correct however, I only have 138MB of RAM remaining.

Quote:
Originally Posted by HyRax1 View Post
System menu->Preferences->Appearance->Visual Effects->None.
That's it. Now I can remote desktop via a GUI.

Btw, now I only have 51MB remaining.


Click to view full size!


EDIT: Checked again, now only 35MB.
__________________
My system: Antec 300 | i5 750 | GA-P55A-UD5 | 4GB DDR3 1333Mhz | WD 1TB Black | 2TB ST2000DL003 | GB 5850 1GB | Corsair HX-650 | BenQ G2420HD 24" | Win 7 Pro (64bit) | MythTV FE/BE: Antec 200 | E6600 | G41MT-S2P | 2GB DDR3 1333Mhz | 4x 2TB ST2000DL003 RAID5/LVM | G210 512MB | 2x Sony Play TV's | Ubuntu Server 10.04 | MythTV FE #1: Asrock ION 330 | 2GB DDR2 800Mhz | 320GB Seagate | Hauppauge MCE remote | Ubuntu 11.04 | MythTV FE #2: Asrock ION 3D | 2GB DDR2 800Mhz | 320GB WD | Ubuntu 11.04

Last edited by kizzav; 8th April 2011 at 9:54 PM.
kizzav is offline   Reply With Quote
Old 8th April 2011, 10:10 PM   #3940
HyRax1
48656C6C6F20576F726C6421
 
HyRax1's Avatar
 
Join Date: Jun 2001
Location: At a desk. Distro:Ubuntu
Posts: 7,078
Default

Quote:
Originally Posted by kizzav View Post
If my calculations are correct however, I only have 138MB of RAM remaining.
But the RAM used is not being used for apps or data - look at your cache value - it's nearly 1.5GB. The reality is that the system itself is really only using 500MB of RAM out of your 2GB. If it didn't cache data, it would either be reloaded from HDD or put into swap, which is slower.

If you bring up the System Monitor applet on one of your Gnome panels, you will see the Memory meter uses dark green to indicate actual memory used and light green to indicate cached data.


Click to view full size!


In the above example, 60% of my system RAM is being used as cache. 30% is actual apps and data and the last 10% is not utilised at the moment. Not shown is swap, because in this case I simply don't need swap at all with 8GB RAM.
__________________
If practice makes perfect, and nobody's perfect, why practice?
HyRax1 is offline   Reply With Quote
Old 8th April 2011, 10:19 PM   #3941
SteveMenheere
Member
 
SteveMenheere's Avatar
 
Join Date: Sep 2004
Location: Geelong
Posts: 287
Default

As I understand it. most linux systems will report nearly 100% memory use. Swap memory in use is the key think

This is what mine reports. (combined fe/be, non VDPAU, 1 SD program being watched on fe) I have never had any problem - even with multiple programs recording & commercial flagging. Been running with 2G memory for many years

Code:
top - 22:08:34 up 7 days, 12:53,  2 users,  load average: 0.73, 0.45, 0.62
Tasks: 198 total,   1 running, 197 sleeping,   0 stopped,   0 zombie
Cpu(s):  9.8%us,  1.5%sy,  0.0%ni, 86.1%id,  2.5%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:   2056696k total,  2027616k used,    29080k free,    19608k buffers
Swap:  6022136k total,   119012k used,  5903124k free,  1349512k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 9122 myth      20   0  796m 200m  12m S   36 10.0  63:40.05 mythfrontend.re
 1043 root      20   0  266m  52m  10m S    9  2.6  58:38.68 Xorg
 1234 mysql     20   0  396m  61m 3684 S    0  3.1  38:36.83 mysqld
    1 root      20   0 23840 1456  788 S    0  0.1   0:01.25 init
    2 root      20   0     0    0    0 S    0  0.0   0:00.01 kthreadd
    3 root      RT   0     0    0    0 S    0  0.0   0:00.03 migration/0
    4 root      20   0     0    0    0 S    0  0.0   0:07.86 ksoftirqd/0
    5 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/0
    6 root      RT   0     0    0    0 S    0  0.0   0:00.03 migration/1
    7 root      20   0     0    0    0 S    0  0.0   0:04.95 ksoftirqd/1
    8 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/1
    9 root      RT   0     0    0    0 S    0  0.0   0:00.16 migration/2
   10 root      20   0     0    0    0 S    0  0.0   0:31.52 ksoftirqd/2
   11 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/2
   12 root      RT   0     0    0    0 S    0  0.0   0:00.10 migration/3
   13 root      20   0     0    0    0 S    0  0.0   0:24.28 ksoftirqd/3
   14 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/3
SteveMenheere is offline   Reply With Quote
Old 8th April 2011, 11:14 PM   #3942
elvis
Member
 
elvis's Avatar
 
Join Date: Jun 2001
Location: Brisbane
Posts: 19,937
Default

Quote:
Originally Posted by HyRax1 View Post
But the RAM used is not being used for apps or data - look at your cache value - it's nearly 1.5GB. The reality is that the system itself is really only using 500MB of RAM out of your 2GB. If it didn't cache data, it would either be reloaded from HDD or put into swap, which is slower.
Freeing cache memory is quite a resource-inexpensive task. It makes no sense to leave memory around with nothing in it (after all, you paid for it, so you may as well use it to its fullest capacity).

If a file, program or library is loaded into memory, it may as well stay there even if the user is finished with it. As long as nothing else needs that memory, then it's not wasted. If something does need the memory, removing the old data is very quick (nanoseconds). If that same program/file/library is opened again, then a big chunk of the data is still in memory, and it saves the system having to load everything from the orders-of-magnitude-slower hard disk.

It's a bit of a trap for people coming over from Windows to get used to. At first glance it does appear that Linux is very memory hungry. But once you learn to ignore the "cache" statistic, you see what's really going on.

For what it's worth, even some very big companies get this wrong. VMWare *STILL* thinks that if cache+buffers+app memory is greater than 90%, it needs to throw up a warning in vCentre. Clearly the great minds in VMWare's dev team didn't get the memory from the Linux/UNIX guys 20-something years ago. Just another great piece of programming from that shoddy company.

Moving on.... I also recommend Linux users stop using "top". It's bloody awful. Instead, switch to "htop":

http://htop.sourceforge.net/

Ubuntu/Mythbuntu users simple type "sudo apt-get install -y htop" at a prompt.

For starters, it does a much better job of visually breaking down application, cache and buffer memory in colour, and shows you what your applications are actually using. That's just one of the million things it does better than the legacy "top".

Notice the yellow part of the memory counter in this image, which represents cache (and can happily be ignored when looking at system memory usage from a resource management point of view):


I install htop on every system I get my hands on. Everyone from junior sysadmins to application developers prefer it so much more, as it actually shows some useful (and customisable) information.
__________________
Child's Play Charity
elvis is offline   Reply With Quote
Old 8th April 2011, 11:24 PM   #3943
Swathe
Member
 
Swathe's Avatar
 
Join Date: Mar 2007
Location: Rockhampton
Posts: 2,175
Default

I agree, htop is bloody brilliant, been using it for a couple of years now.
__________________
People reckon I'm too patronising (That means I treat them as if they're stupid).

Over $9k in trades

http://www.gentoo.org/
Swathe is offline   Reply With Quote
Old 9th April 2011, 8:58 AM   #3944
HyRax1
48656C6C6F20576F726C6421
 
HyRax1's Avatar
 
Join Date: Jun 2001
Location: At a desk. Distro:Ubuntu
Posts: 7,078
Default

Quote:
Originally Posted by elvis View Post
Freeing cache memory is quite a resource-inexpensive task. It makes no sense to leave memory around with nothing in it (after all, you paid for it, so you may as well use it to its fullest capacity).
Oh yeah, I wasn't suggesting that his cache needed to be freed - I was just pointing out that was where he memory was being used (as a Good ThingTM).

Quote:
Originally Posted by elvis View Post
Moving on.... I also recommend Linux users stop using "top". It's bloody awful. Instead, switch to "htop":
Awesome - I love it! Thanks!


Click to view full size!


That yellow bar shows memory vs cache in the same way as the Gnome System Monitor applet. Perfect!
__________________
If practice makes perfect, and nobody's perfect, why practice?
HyRax1 is offline   Reply With Quote
Old 9th April 2011, 3:58 PM   #3945
3five1
Member
 
3five1's Avatar
 
Join Date: Aug 2003
Location: Anywhere Quick!!
Posts: 521
Default

HI

I finally got around to purchasing a Asus MyCinema U3100 Mini usb tv tuner card for my (see sig) htpc, I tried installing it but am having trouble getting it to run & recognise, am a novice at installing Command line drivers & programs.

I followed the instruction booklet but it didn't help, it written for PCLinuxOS but I would have thought it to run o.k in Ubuntu as well. I have mine plugged in straight from the stick to the antenna wall socket, hope this is right ...would appreciate as much info and tips as possible to get it going?

Thank you!
__________________
Don't take your organs to heaven because heaven knows we need them here!

Last edited by 3five1; 9th April 2011 at 4:22 PM.
3five1 is offline   Reply With Quote
Reply

Bookmarks

Tags
htpc, mythtv

Sign up for a free OCAU account and this ad will go away!

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time now is 4:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. -
OCAU is not responsible for the content of individual messages posted by others.
Other content copyright Overclockers Australia.
OCAU is hosted by Internode!