From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SRQns-0001r6-Qe for garchives@archives.gentoo.org; Mon, 07 May 2012 16:28:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C7CAE064A; Mon, 7 May 2012 16:28:34 +0000 (UTC) Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id B2157E0746 for ; Mon, 7 May 2012 16:27:00 +0000 (UTC) Received: by wgbfm10 with SMTP id fm10so4766156wgb.10 for ; Mon, 07 May 2012 09:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=ABxIfznYUaV0LDNGC12SoL+u+BFU5vJni2bK6tW8H7Q=; b=IB4yuFNYf0U9g3kaKn9kzobXefOj25/dPsdi7c95KQN1Pd3aF0yrSYujddHswTQgXP A+eyLMFnLBxAtnz9z+KIgsFSQrcqEpc2H9SdLs/ZMQ+Lu9MYtvMxHPieFs2nqge1iZcG q18HqglFVgX9LbChvG4+WnlZQo4oryIEScwHmYtd4Xt2Vhddsche5Fo6Y6gDhFbI2CuN l7zxA+YNaa0etTdjiOzDMSvBtYVIspcRgbKhhT1e1NZVrOwaLggVxLqnNcp4I18e9b4K 5dbfCjNV5iwuLAzHwiJ03zHDjZGDnJa0XWIMRNu8cjCmuqK/0CidO4/LuJLZqowxWsR8 HmBA== Received: by 10.216.135.234 with SMTP id u84mr8597137wei.108.1336408018690; Mon, 07 May 2012 09:26:58 -0700 (PDT) Received: from energy.localnet (p4FC61047.dip0.t-ipconnect.de. [79.198.16.71]) by mx.google.com with ESMTPS id ca3sm22679921wib.6.2012.05.07.09.26.56 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 May 2012 09:26:57 -0700 (PDT) From: Volker Armin Hemmann To: gentoo-user@lists.gentoo.org Cc: Alex Schuster Subject: Re: [gentoo-user] I want to play movies without hangs Date: Mon, 07 May 2012 18:26:28 +0200 Message-ID: <7661425.dpRk3J8nd2@energy> User-Agent: KMail/4.8.3 (Linux/3.0.30; KDE/4.8.3; x86_64; ; ) In-Reply-To: <20120507144134.4ea24fc3@weird.wonkology.org> References: <20120216162948.7eea6070@weird.wonkology.org> <1705219.vsiCQe2Sr8@weird> <20120507144134.4ea24fc3@weird.wonkology.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: 4faf78b2-9730-495d-8bd0-c2745018bf06 X-Archives-Hash: 737cb0cc91b974f6d6640ad2071f1916 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... > > [...] > > > > I had a bad disk here, which resulted in slow IO, but not > > > complete failure. Smart detected this immediately. Sorry, > > > I do not know how to check disks with LVM. > > > > Didn't you get errors in yslog then? > > > > I also thought about swapping the system drive - I have a larger backup > > drive, with nearly identical logical volumes on it, where I make > > backups with rdiffbackup. So even the content is identical, except for > > an additional rdiff-backup directory containing the increments. So all > > I have to do is to echange the two volume group names, reboot, and the > > system will run from the other drive. But I very much doubt this will > > help, transfer speed looks okay to me, around 100 MB/s with dd. > > I did it in another way. I created a large file system (LVM) on my 2nd > drive, copied /, /usr, /var, /opt and /home over. My whole system is > encrypted, but I omitted this, just to make sure this is not the > bottleneck. > > Alas, no change. Another thing I tried was to change the SATA mode in my > BIOS from AHCI to whatever the other option is. This did not help either. > > 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 old Unreal game play), I fired up > another window manager, and when I played a video in there, there was no > problem at all. So, I have another workaround. > > But does anyone have an idea, why running KDE is the problem? Disabling > desktop effects does not help. nepomuk/virtuoso running in the background whenever you have more than 1 process doing IO linux sucks ass. Now, you write to a partition, nepomuk tries to index it (1 read) and your player reading the video file (2nd read). Interactivity is shot. Pause/kill nepomuk and look if it helps. For me the worst case is: writing lots of files on a usb device - sucks everywhere, even on a vt. -- #163933