Re: [gentoo-user] I want to play movies without hangs

2012-05-20 Thread Alex Schuster
Mark Knecht writes: Anything in there show network through-put per process? I've been looking for a way to monitor what's going to each of my VMs? net-analyzer/nethogs does that. Wonko

Re: [gentoo-user] I want to play movies without hangs

2012-05-17 Thread Alex Schuster
Michael Mol wrote: On Sat, May 12, 2012 at 8:58 PM, Alex Schuster wo...@wonkology.org wrote: [about showing which processes use how much swap] Michael Mol writes: [...] sys-process/htop Huh? I only see the total amount of swap being used, but no entry per process. Hit F2, and go

Re: [gentoo-user] I want to play movies without hangs

2012-05-17 Thread Mark Knecht
On Sat, May 12, 2012 at 6:04 PM, Michael Mol mike...@gmail.com wrote: On Sat, May 12, 2012 at 8:58 PM, Alex Schuster wo...@wonkology.org wrote: SNIP sys-process/htop Huh? I only see the total amount of swap being used, but no entry per process. Hit F2, and go down to 'columns'. Anything

Re: [gentoo-user] I want to play movies without hangs

2012-05-17 Thread Michael Mol
On Thu, May 17, 2012 at 9:51 AM, Mark Knecht markkne...@gmail.com wrote: On Sat, May 12, 2012 at 6:04 PM, Michael Mol mike...@gmail.com wrote: On Sat, May 12, 2012 at 8:58 PM, Alex Schuster wo...@wonkology.org wrote: SNIP sys-process/htop Huh? I only see the total amount of swap being used,

Re: [gentoo-user] I want to play movies without hangs

2012-05-17 Thread Mark Knecht
On Thu, May 17, 2012 at 7:13 AM, Michael Mol mike...@gmail.com wrote: On Thu, May 17, 2012 at 9:51 AM, Mark Knecht markkne...@gmail.com wrote: On Sat, May 12, 2012 at 6:04 PM, Michael Mol mike...@gmail.com wrote: On Sat, May 12, 2012 at 8:58 PM, Alex Schuster wo...@wonkology.org wrote: SNIP

Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-15 Thread Alex Schuster
Paul Hartman writes: On Fri, May 11, 2012 at 8:40 PM, Alex Schuster wo...@wonkology.org wrote: Finally, I found something. It's Dolphin! [...] Now, would this be an MPlayer problem, or one of Dolphin? I wonder if Dolphin is generating thumbnails/preview indexes at the same time you're

Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-14 Thread Paul Hartman
On Fri, May 11, 2012 at 8:40 PM, Alex Schuster wo...@wonkology.org wrote: Finally, I found something. It's Dolphin! I've done some longer testing, always playing the same video parallel with a dd if=/dev/zero of=/tmp/10G bs=1M count=1, in mplayer, for a minute, several times. When I do

Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-13 Thread Alan McKinnon
On Sat, 12 May 2012 11:41:33 -0400 Norman Invasion invasivenor...@gmail.com wrote: On 12 May 2012 11:05, Alex Schuster wo...@wonkology.org wrote: Norman Invasion writes: On 11 May 2012 21:40, Alex Schuster wo...@wonkology.org wrote: Finally, I found something. It's Dolphin! [...]

Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-13 Thread Michael Mol
On Sun, May 13, 2012 at 4:56 AM, Alan McKinnon alan.mckin...@gmail.com wrote: [1] .avi files are notorious for this shit. It's what happens when you are Microsoft and you release any old crappy format without consulting the other experts out there (who will always outnumber you) Which better

Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-13 Thread Alan McKinnon
On Sun, 13 May 2012 14:12:04 -0400 Michael Mol mike...@gmail.com wrote: On Sun, May 13, 2012 at 4:56 AM, Alan McKinnon alan.mckin...@gmail.com wrote: [1] .avi files are notorious for this shit. It's what happens when you are Microsoft and you release any old crappy format without

Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-13 Thread Michael Mol
On Sun, May 13, 2012 at 4:53 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sun, 13 May 2012 14:12:04 -0400 Michael Mol mike...@gmail.com wrote: On Sun, May 13, 2012 at 4:56 AM, Alan McKinnon alan.mckin...@gmail.com wrote: [1] .avi files are notorious for this shit. It's what happens

Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-13 Thread Alan McKinnon
On Sun, 13 May 2012 17:01:07 -0400 Michael Mol mike...@gmail.com wrote: On Sun, May 13, 2012 at 4:53 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sun, 13 May 2012 14:12:04 -0400 Michael Mol mike...@gmail.com wrote: On Sun, May 13, 2012 at 4:56 AM, Alan McKinnon

Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-13 Thread Michael Mol
On Sun, May 13, 2012 at 5:33 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sun, 13 May 2012 17:01:07 -0400 Michael Mol mike...@gmail.com wrote: On Sun, May 13, 2012 at 4:53 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sun, 13 May 2012 14:12:04 -0400 Michael Mol

Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-13 Thread Alan McKinnon
On Sun, 13 May 2012 18:03:59 -0400 Michael Mol mike...@gmail.com wrote: On Sun, May 13, 2012 at 5:33 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sun, 13 May 2012 17:01:07 -0400 Michael Mol mike...@gmail.com wrote: On Sun, May 13, 2012 at 4:53 PM, Alan McKinnon

Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-13 Thread Michael Mol
On Sun, May 13, 2012 at 7:27 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sun, 13 May 2012 18:03:59 -0400 Michael Mol mike...@gmail.com wrote: On Sun, May 13, 2012 at 5:33 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sun, 13 May 2012 17:01:07 -0400 Michael Mol

Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-12 Thread Norman Invasion
On 11 May 2012 21:40, Alex Schuster wo...@wonkology.org wrote: Finally, I found something. It's Dolphin! I've done some longer testing, always playing the same video parallel with a dd if=/dev/zero of=/tmp/10G bs=1M count=1, in mplayer, for a minute, several times. When I do this by

Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-12 Thread Alex Schuster
Norman Invasion writes: On 11 May 2012 21:40, Alex Schuster wo...@wonkology.org wrote: Finally, I found something. It's Dolphin! [...] Apologies: I haven't followed this thread from the beginning, Which was quite long ago :) but do you have any advanced power management features enabled

Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-12 Thread Norman Invasion
On 12 May 2012 11:05, Alex Schuster wo...@wonkology.org wrote: Norman Invasion writes: On 11 May 2012 21:40, Alex Schuster wo...@wonkology.org wrote: Finally, I found something. It's Dolphin! [...] Apologies: I haven't followed this thread from the beginning, Which was quite long ago :)

Re: [gentoo-user] I want to play movies without hangs

2012-05-12 Thread Alex Schuster
Dale writes: Is there a way to find out what is using swap? Maybe something related to the video is on swap which at times can be slow, certainly slower than ram. I have always wondered how to find this out myself. Me too, so when I had this sudden swap problem for the first time, I

Re: [gentoo-user] I want to play movies without hangs

2012-05-12 Thread Michael Mol
On Sat, May 12, 2012 at 8:34 PM, Alex Schuster wo...@wonkology.org wrote: Dale writes: Is there a way to find out what is using swap?  Maybe something related to the video is on swap which at times can be slow, certainly slower than ram. I have always wondered how to find this out myself.

Re: [gentoo-user] I want to play movies without hangs

2012-05-12 Thread Alex Schuster
Michael Mol writes: On Sat, May 12, 2012 at 8:34 PM, Alex Schuster wo...@wonkology.org wrote: Dale writes: Is there a way to find out what is using swap?  Maybe something related to the video is on swap which at times can be slow, certainly slower than ram. I have always wondered

Re: [gentoo-user] I want to play movies without hangs

2012-05-12 Thread Michael Mol
On Sat, May 12, 2012 at 8:58 PM, Alex Schuster wo...@wonkology.org wrote: Michael Mol writes: On Sat, May 12, 2012 at 8:34 PM, Alex Schuster wo...@wonkology.org wrote: Dale writes: Is there a way to find out what is using swap?  Maybe something related to the video is on swap which at

Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-11 Thread Alex Schuster
Finally, I found something. It's Dolphin! I've done some longer testing, always playing the same video parallel with a dd if=/dev/zero of=/tmp/10G bs=1M count=1, in mplayer, for a minute, several times. When I do this by opening the file in Dolphin, I get about 15 interruptions, some for

Re: [gentoo-user] I want to play movies without hangs

2012-05-10 Thread Dale
Adam Carter wrote: Is there a way to find out what is using swap? Maybe something related to the video is on swap which at times can be slow, certainly slower than ram. I have always wondered how to find this out myself. Well the OS uses swap, i dont know if its possible to then tie that

Re: [gentoo-user] I want to play movies without hangs

2012-05-10 Thread Michael Hampicke
Am 10.05.2012 05:59, schrieb Adam Carter: There's plenty of swap space available. With 16 G of RAM it should not be needed, but sometimes my load gets really really high, and when I can use the system again, there is 2-3 G of swap usage. I haven't found out yet what this is, it seems to

Re: [gentoo-user] I want to play movies without hangs

2012-05-10 Thread Paul Hartman
On Wed, May 9, 2012 at 8:00 PM, Alex Schuster wo...@wonkology.org wrote: Neil Bothwick writes: On Wed, 9 May 2012 21:44:19 +0200, Alex Schuster wrote: I guess I could remove anything running on my KDE desktop one by one, including plasmoids, and see if playback gets better. But not now, I

Re: [gentoo-user] I want to play movies without hangs

2012-05-10 Thread Alex Schuster
Paul Hartman writes: I realize this thread is bigger than an encyclopedia by now, so I apologize if this has already been suggested. :) Well, I'm happy for any input on this :) This problem is really annoying. I'm curious if you look at /proc/interrupts if the disk with I/O problems is

Re: [gentoo-user] I want to play movies without hangs

2012-05-09 Thread Alex Schuster
I wrote: Mark Knecht writes: OK, fire up two terminals. In one run top, hit 1 z so you see all your CPUs and then watch CPU usage. In the second terminal su to root and run iotop -o. Now, watch for a few minutes and get a feel for what's going on when video is not running. Then

Re: [gentoo-user] I want to play movies without hangs

2012-05-09 Thread Neil Bothwick
On Wed, 9 May 2012 21:44:19 +0200, Alex Schuster wrote: I guess I could remove anything running on my KDE desktop one by one, including plasmoids, and see if playback gets better. But not now, I finally have to actually do some work. I recently experienced slowdowns and delays with KDE. It

Re: [gentoo-user] I want to play movies without hangs

2012-05-09 Thread Alex Schuster
Neil Bothwick writes: On Wed, 9 May 2012 21:44:19 +0200, Alex Schuster wrote: I guess I could remove anything running on my KDE desktop one by one, including plasmoids, and see if playback gets better. But not now, I finally have to actually do some work. I recently experienced

Re: [gentoo-user] I want to play movies without hangs

2012-05-09 Thread Dale
Alex Schuster wrote: Neil Bothwick writes: On Wed, 9 May 2012 21:44:19 +0200, Alex Schuster wrote: I guess I could remove anything running on my KDE desktop one by one, including plasmoids, and see if playback gets better. But not now, I finally have to actually do some work. I recently

Re: [gentoo-user] I want to play movies without hangs

2012-05-09 Thread Adam Carter
Is there a way to find out what is using swap?  Maybe something related to the video is on swap which at times can be slow, certainly slower than ram. I have always wondered how to find this out myself. Well the OS uses swap, i dont know if its possible to then tie that directly to a

Re: [gentoo-user] I want to play movies without hangs

2012-05-09 Thread Adam Carter
There's plenty of swap space available. With 16 G of RAM it should not be needed, but sometimes my load gets really really high, and when I can use the system again, there is 2-3 G of swap usage. I haven't found out yet what this is, it seems to happen when emerging things, maybe related to

Re: [gentoo-user] I want to play movies without hangs

2012-05-08 Thread Simon
Also, there was a thread a good while back with this issue and their fix was to do a emerge -e world with everything optimized for their CPU and such.  May be worth thinking about at least. Video playback and CPU optimisations go hand in hand. One video I have had for a long time, I could

Re: [gentoo-user] I want to play movies without hangs

2012-05-07 Thread Alex Schuster
Some while ago, I wrote: [ mplayer stutters when I/O is going on, even hangs for seconds when I do a dd if=/dev/zero of=somefile bs=1M ] Urs Schutz writes: Just an idea: Is the disk OK? Replace /dev/sda with your disk... [...] I had a bad disk here, which resulted in slow IO, but not

Re: [gentoo-user] I want to play movies without hangs

2012-05-07 Thread Volker Armin Hemmann
Am Montag, 7. Mai 2012, 14:41:34 schrieb Alex Schuster: Some while ago, I wrote: [ mplayer stutters when I/O is going on, even hangs for seconds when I do a dd if=/dev/zero of=somefile bs=1M ] Urs Schutz writes: Just an idea: Is the disk OK? Replace /dev/sda with your disk...

Re: [gentoo-user] I want to play movies without hangs

2012-05-07 Thread Michael Hampicke
Am 07.05.2012 18:26, schrieb Volker Armin Hemmann: Am Montag, 7. Mai 2012, 14:41:34 schrieb Alex Schuster: Some while ago, I wrote: [ mplayer stutters when I/O is going on, even hangs for seconds when I do a dd if=/dev/zero of=somefile bs=1M ] Urs Schutz writes: Just an idea: Is the

Re: [gentoo-user] I want to play movies without hangs

2012-05-07 Thread Volker Armin Hemmann
Am Montag, 7. Mai 2012, 18:44:05 schrieb Michael Hampicke: Maybe changing the kernel io scheduler will help? # /usr/src/linux/Documentation/block/switching-sched.txt # /usr/src/linux/Documentation/block/deadline-iosched.txt # /usr/src/linux/Documentation/block/cfq-iosched.txt nice idea -

Re: [gentoo-user] I want to play movies without hangs

2012-05-07 Thread Michael Hampicke
nice idea - but that didn't help in the past. Why should it help now? The question is - why does disk IO make the mouse jerky and delays keyboard input? That is just idiotic. It was just an idea, but maybe there's something wrong on the hardware side? Broken cable, hard drive about to die?

Re: [gentoo-user] I want to play movies without hangs

2012-05-07 Thread Volker Armin Hemmann
Am Montag, 7. Mai 2012, 19:25:29 schrieb Michael Hampicke: nice idea - but that didn't help in the past. Why should it help now? The question is - why does disk IO make the mouse jerky and delays keyboard input? That is just idiotic. It was just an idea, but maybe there's something

Re: [gentoo-user] I want to play movies without hangs

2012-05-07 Thread Mark Knecht
On Mon, May 7, 2012 at 5:41 AM, Alex Schuster wo...@wonkology.org wrote: Some while ago, I wrote: [ mplayer stutters when I/O is going on, even hangs for seconds when I do a dd if=/dev/zero of=somefile bs=1M ] Urs Schutz writes: Just an idea: Is the disk OK? Replace /dev/sda with your

Re: [gentoo-user] I want to play movies without hangs

2012-05-07 Thread Alex Schuster
Michael Hampicke writes: Am 07.05.2012 18:26, schrieb Volker Armin Hemmann: Am Montag, 7. Mai 2012, 14:41:34 schrieb Alex Schuster: Some while ago, I wrote: [ mplayer stutters when I/O is going on, even hangs for seconds when I do a dd if=/dev/zero of=somefile bs=1M ] [...] But

Re: [gentoo-user] I want to play movies without hangs

2012-05-07 Thread Dale
Alex Schuster wrote: SNIP Now this is really annoying. I watch small clips mostly, and can live with that, and when I want to watch stuff with others, I copy the file to tmpfs, which seems to help a lot. But now I found another solution: NOT USING KDE. When X crashed (trying to make the

Re: [gentoo-user] I want to play movies without hangs

2012-05-07 Thread Alex Schuster
Dale writes: When I first built this rig, I ran into this issue as well. What I did was tell smplayer, in my case, to cache more of the video. I have mine set to cache 6Mbs and it plays fine even on HD videos. I have cache = 131072 and cache-min=20.0 in .mplayer/config. That's 128MB, this

Re: [gentoo-user] I want to play movies without hangs

2012-05-07 Thread Alex Schuster
Mark Knecht writes: On Mon, May 7, 2012 at 5:41 AM, Alex Schuster wo...@wonkology.org wrote: Some while ago, I wrote: [ mplayer stutters when I/O is going on, even hangs for seconds when I do a dd if=/dev/zero of=somefile bs=1M ] [...] OK, fire up two terminals. In one run top,

Re: [gentoo-user] I want to play movies without hangs

2012-05-07 Thread Stroller
On 7 May 2012, at 21:43, Dale wrote: ... Also, there was a thread a good while back with this issue and their fix was to do a emerge -e world with everything optimized for their CPU and such. May be worth thinking about at least. I understood that issue as significantly different - in that

Re: [gentoo-user] I want to play movies without hangs

2012-02-18 Thread James Broadhead
On 18 February 2012 05:45, Alex Schuster wo...@wonkology.org wrote: Walter Dnes writes: On Thu, Feb 16, 2012 at 04:29:48PM +0100, Alex Schuster wrote Then my hardware broke, and I got new one...   I had ***EXACTLY THE SAME PROBLEM ON A FRESH INSTALL***.  In My case it was a 4+ year old

Re: [gentoo-user] I want to play movies without hangs

2012-02-18 Thread Alex Schuster
James Broadhead writes: Please try: ~/.mplayer/config lavdopts=threads=2 # Use 128MiB input cache by default. cache = 131072 # Prefill 20% of the cache before starting playback. cache-min = 20.0 Which should eliminate disk IO somewhat James, thanks for your input. I already

Re: [gentoo-user] I want to play movies without hangs

2012-02-18 Thread Urs Schutz
On Sat, 18 Feb 2012 18:04:07 +0100 Alex Schuster wo...@wonkology.org wrote: ... Then I tried another video, again with the settings you suggested, and it stuttered. There were small pauses when the system did some stuff, and when I did my dd test, the pauses were as long as five seconds.

Re: [gentoo-user] I want to play movies without hangs

2012-02-18 Thread Alex Schuster
Urs Schutz writes: Just an idea: Is the disk OK? Replace /dev/sda with your disk... smartctl -t short /dev/sda and after some minutes smartctl --all /dev/sda If all went OK then the status is «PASSED», and you could try the extended or long tests with smartctl. I have smartd

Re: [gentoo-user] I want to play movies without hangs

2012-02-17 Thread Walter Dnes
On Thu, Feb 16, 2012 at 04:29:48PM +0100, Alex Schuster wrote Then my hardware broke, and I got new one... I had ***EXACTLY THE SAME PROBLEM ON A FRESH INSTALL***. In My case it was a 4+ year old Dell with onboard Intel GPU that was having problems playing NHL Gamecenter Live streams at the

Re: [gentoo-user] I want to play movies without hangs

2012-02-17 Thread Alex Schuster
Paul Hartman writes: I wonder if you copy the movie to /dev/shm first (so disk I/O is not an issue) does it still have problems? At least this can potentially eliminate disk I/O as the cause if something else weird is going on. :) Yes, this helps. As does copying the movie to another

Re: [gentoo-user] I want to play movies without hangs

2012-02-17 Thread Alex Schuster
Walter Dnes writes: On Thu, Feb 16, 2012 at 04:29:48PM +0100, Alex Schuster wrote Then my hardware broke, and I got new one... I had ***EXACTLY THE SAME PROBLEM ON A FRESH INSTALL***. In My case it was a 4+ year old Dell with onboard Intel GPU that was having problems playing NHL

[gentoo-user] I want to play movies without hangs

2012-02-16 Thread Alex Schuster
Hi there! Strange things are going on here. I've written here in the past about my performance problems. My dual-core had trouble playing movies without stuttering when there was I/O. It was mainly swapping that caused this, and 8 G were not enough for me running KDE4. Then my hardware broke,

Re: [gentoo-user] I want to play movies without hangs

2012-02-16 Thread Mark Knecht
On Thu, Feb 16, 2012 at 7:29 AM, Alex Schuster wo...@wonkology.org wrote: Hi there! Hi back at ya. How can I find out in such a case which processes are waiting for I/O? top showed nothing. iotop is your friend. I'll write more when I get some time to think HTH, Mark

Re: [gentoo-user] I want to play movies without hangs

2012-02-16 Thread Paul Hartman
On Thu, Feb 16, 2012 at 9:29 AM, Alex Schuster wo...@wonkology.org wrote: I've written here in the past about my performance problems. My dual-core had trouble playing movies without stuttering when there was I/O. It was mainly swapping that caused this, and 8 G were not enough for me running

Re: [gentoo-user] I want to play movies without hangs

2012-02-16 Thread Alex Schuster
Paul Hartman writes: On Thu, Feb 16, 2012 at 9:29 AM, Alex Schuster wo...@wonkology.org wrote: Then my hardware broke, and I got new one, except for the system hard drive and the PSU. It's an AMD FX-4100 quad-core with 3.6 GHz, 16 G of RAM. Running gentoo-sources-3.2.1 as kernel. But it

Re: [gentoo-user] I want to play movies without hangs

2012-02-16 Thread Paul Hartman
On Thu, Feb 16, 2012 at 10:49 AM, Alex Schuster wo...@wonkology.org wrote: Paul Hartman writes: On Thu, Feb 16, 2012 at 9:29 AM, Alex Schuster wo...@wonkology.org wrote: Then my hardware broke, and I got new one, except for the system hard drive and the PSU. It's an AMD FX-4100 quad-core

Re: [gentoo-user] I want to play movies without hangs

2012-02-16 Thread Alex Schuster
Mark Knecht writes: On Thu, Feb 16, 2012 at 7:29 AM, Alex Schuster wo...@wonkology.org wrote: How can I find out in such a case which processes are waiting for I/O? top showed nothing. iotop is your friend. I had called it, but didn't spot the problem there. I don't remember exactly

Re: [gentoo-user] I want to play movies without hangs

2012-02-16 Thread Mark Knecht
On Thu, Feb 16, 2012 at 9:34 AM, Alex Schuster wo...@wonkology.org wrote: Mark Knecht writes: On Thu, Feb 16, 2012 at 7:29 AM, Alex Schuster wo...@wonkology.org wrote: How can I find out in such a case which processes are waiting for I/O? top showed nothing. iotop is your friend. I