Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-24 Thread Chris Mason
On 01/22/2018 04:17 PM, Sebastian Ochmann wrote: > Hello, > > I attached to the ffmpeg-mux process for a little while and pasted the > result here: > >

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-23 Thread Duncan
ein posted on Tue, 23 Jan 2018 09:38:13 +0100 as excerpted: > On 01/22/2018 09:59 AM, Duncan wrote: >> >> And to tie up a loose end, xfs has somewhat different design principles >> and may well not be particularly sensitive to the dirty_* settings, >> while btrfs, due to COW and other design

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-23 Thread ein
On 01/22/2018 09:59 AM, Duncan wrote: > Sebastian Ochmann posted on Sun, 21 Jan 2018 16:27:55 +0100 as excerpted: > [...] > On 2018年01月20日 18:47, Sebastian Ochmann wrote: Hello, I would like to describe a real-world use case where btrfs does not perform well for me. I'm

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-22 Thread Sebastian Ochmann
Hello, I attached to the ffmpeg-mux process for a little while and pasted the result here: https://pastebin.com/XHaMLX8z Can you help me with interpreting this result? If you'd like me to run strace with specific options, please let me know. This is a level of debugging I'm not dealing

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-22 Thread Chris Mason
On 01/22/2018 01:33 PM, Sebastian Ochmann wrote: [ skipping to the traces ;) ] 2866 ffmpeg-mux D [] btrfs_start_ordered_extent+0x101/0x130 [btrfs] [] lock_and_cleanup_extent_if_need+0x340/0x380 [btrfs] [] __btrfs_buffered_write+0x261/0x740 [btrfs] [] btrfs_file_write_iter+0x20f/0x650 [btrfs]

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-22 Thread Sebastian Ochmann
First off, thank you for all the responses! Let me reply to multiple suggestions at once in this mail. On 22.01.2018 01:39, Qu Wenruo wrote: Either such mount option has a bug, or some unrelated problem. As you mentioned the output is about 10~50MiB/s, 30s means 300~1500MiBs. Maybe it's

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-22 Thread Chris Mason
On 01/20/2018 05:47 AM, Sebastian Ochmann wrote: Hello, I would like to describe a real-world use case where btrfs does not perform well for me. I'm recording 60 fps, larger-than-1080p video using OBS Studio [1] where it is important that the video stream is encoded and written out to disk

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-22 Thread Nikolay Borisov
On 22.01.2018 02:39, Qu Wenruo wrote: > > > On 2018年01月21日 23:27, Sebastian Ochmann wrote: >> On 21.01.2018 11:04, Qu Wenruo wrote: >>> >>> >>> On 2018年01月20日 18:47, Sebastian Ochmann wrote: Hello, I would like to describe a real-world use case where btrfs does not perform

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-22 Thread Duncan
Sebastian Ochmann posted on Sun, 21 Jan 2018 16:27:55 +0100 as excerpted: > On 21.01.2018 11:04, Qu Wenruo wrote: >> >> >> On 2018年01月20日 18:47, Sebastian Ochmann wrote: >>> Hello, >>> >>> I would like to describe a real-world use case where btrfs does not >>> perform well for me. I'm recording

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-21 Thread Qu Wenruo
On 2018年01月21日 23:27, Sebastian Ochmann wrote: > On 21.01.2018 11:04, Qu Wenruo wrote: >> >> >> On 2018年01月20日 18:47, Sebastian Ochmann wrote: >>> Hello, >>> >>> I would like to describe a real-world use case where btrfs does not >>> perform well for me. I'm recording 60 fps, larger-than-1080p

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-21 Thread Sebastian Ochmann
On 21.01.2018 23:04, Chris Murphy wrote: On Sun, Jan 21, 2018 at 8:27 AM, Sebastian Ochmann wrote: On 21.01.2018 11:04, Qu Wenruo wrote: The output of "mount" after setting 10 seconds commit interval: /dev/sdc1 on /mnt/rec type btrfs

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-21 Thread Chris Murphy
On Sun, Jan 21, 2018 at 8:27 AM, Sebastian Ochmann wrote: > On 21.01.2018 11:04, Qu Wenruo wrote: > The output of "mount" after setting 10 seconds commit interval: > > /dev/sdc1 on /mnt/rec type btrfs > (rw,relatime,space_cache,commit=10,subvolid=5,subvol=/) I wonder if

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-21 Thread Sebastian Ochmann
On 21.01.2018 11:04, Qu Wenruo wrote: On 2018年01月20日 18:47, Sebastian Ochmann wrote: Hello, I would like to describe a real-world use case where btrfs does not perform well for me. I'm recording 60 fps, larger-than-1080p video using OBS Studio [1] where it is important that the video stream

Re: Periodic frame losses when recording to btrfs volume with OBS

2018-01-21 Thread Qu Wenruo
On 2018年01月20日 18:47, Sebastian Ochmann wrote: > Hello, > > I would like to describe a real-world use case where btrfs does not > perform well for me. I'm recording 60 fps, larger-than-1080p video using > OBS Studio [1] where it is important that the video stream is encoded > and written out to

Periodic frame losses when recording to btrfs volume with OBS

2018-01-20 Thread Sebastian Ochmann
Hello, I would like to describe a real-world use case where btrfs does not perform well for me. I'm recording 60 fps, larger-than-1080p video using OBS Studio [1] where it is important that the video stream is encoded and written out to disk in real-time for a prolonged period of time (2-5