lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 27 Jul 2014 16:18:16 -0400
From:	Nick Krause <xerofoify@...il.com>
To:	htd@...tha.org
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: Bug on Kernel 3.16 r6: Sound and Buffering in Clementine with
 Files are Transferring to Music Directory

On Sun, Jul 27, 2014 at 4:37 AM, Heinz Diehl <htd@...cy-poultry.org> wrote:
> On 27.07.2014, Nick Krause wrote:
>
>> When I transfer a lot of music for a brtfs external hard drive I have the music
>> in clementine I am listening to is stopped for a few seconds and then continues.
>
> Most probably, this is not a bug, but caused by high disk I/O. It's
> not clear to me if the music you are listening to is located on the
> same disk which you transfer to/from. This would make things even
> worse.
>
> However, there are a few thing you can do to try to minimize the observed
> stalls:
>
> 1. Compile your kernel with CONFIG_PREEMPT enabled
> 2. Reduce the amount of memory content sync'ed to disk
> 3. If your disk is a SSD: change the elevator to "noop"
> 4. Enable writeback on your disk
> 5. Increase the disks readahead sectors
> 6. Increase the audio buffers in your player
>
> 1. CONFIG_PREEMPT=y
>
> 2. Sysctl: vm.dirty_ratio = 10
>            vm.dirty_background_ratio = 5
>
> 3. echo "noop" > /sys/block/sda/queue/scheduler
>
> 4. /sbin/hdparm -W1 /dev/sda
>
> 5. /sbin/blockdev --setra 8192 /dev/sda
>
> Regards,
>  Heinz.
Heinz,
The audio buffer is not going to work as this was never a issue with
default Ubuntu kernels.
However I will try your other ideas and report back :). I am
transferring into the same directory
for the music I am listening to. In addition , my cpu usage when doing
this is half of my older
Ubuntu distro kernel, 6 vs 3 percent for upstream.
Cheers Nick
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists