Hi
I'm having strange issues with my VDR box lately. However, I'm not sure at all it has anything to do with VDR as other services are running on it, too.
The Gentoo box freezed four times in the past month, twice of which the very minute a VDR timer stopped. (Maybe even all four times, but I haven't checked that relation the first two times it happened.) The log doesn't help a bit, the machine simply ceases to do anyting. I've checked RAM and other parts of the system with no indication at all.
However, I've seen that some people had issues a few years ago with ReiserFS (which I'm using, too). Now, I'm wondering if anybody using ReiserFS had system freezes as well.
media-plugins/vdr-dvd-0.3.7_pre20070117 media-plugins/vdr-femon-1.1.0 media-plugins/vdr-mplayer-0.9.15 media-plugins/vdr-muggle-0.1.11-r1 media-plugins/vdr-nordlichtsepg-0.8a media-plugins/vdr-osdteletext-0.5.1 media-plugins/vdr-radio-0.2.0 media-plugins/vdr-setup-0.3.1 media-plugins/vdr-softdevice-0.3.1.20070313 media-plugins/vdr-streamdev-server-0.3.3_pre20061206 media-plugins/vdr-yaepg-0.0.2.1 media-tv/gentoo-vdr-scripts-0.3.8 media-tv/vdrplugin-rebuild-0.2 media-video/vdr-1.4.5
Kernel: 2.6.19
Cheers, -sven
Sven Schwyn wrote:
I'm having strange issues with my VDR box lately. However, I'm not sure at all it has anything to do with VDR as other services are running on it, too.
The Gentoo box freezed four times in the past month, twice of which the very minute a VDR timer stopped. (Maybe even all four times, but I
one thing that comes to mind is that vdr calls fdatasync when closing an mpg file, maybe this trips up reiserfs somehow. You could try to comment out that call (in tools.c cUnbufferedFile::Close). Also apparently there is some reiserfs option to reduce the writeout rate, maybe turning that off would help.
artur
Sven Schwyn wrote:
However, I've seen that some people had issues a few years ago with ReiserFS (which I'm using, too). Now, I'm wondering if anybody using ReiserFS had system freezes as well.
I had issues, and I'm still using Reiser3 for my video storage.
On slow platforms, with a stressed out file system, Reiser may be CPU-limited on throughput. But you have to run VDR for a long time with disk almost full, and with lots of recordings coming and going to get that level of fragmentation. And I'm not convinced that other file systems would do better in these situations.
Beside that, Reiser3 works fine for me. No total freezes I know of.
Cheers,
Udo
On Monday 23 April 2007 21:37, Udo Richter wrote:
Sven Schwyn wrote:
However, I've seen that some people had issues a few years ago with ReiserFS (which I'm using, too). Now, I'm wondering if anybody using ReiserFS had system freezes as well.
I had issues, and I'm still using Reiser3 for my video storage.
On slow platforms, with a stressed out file system, Reiser may be CPU-limited on throughput. But you have to run VDR for a long time with disk almost full, and with lots of recordings coming and going to get that level of fragmentation. And I'm not convinced that other file systems would do better in these situations.
Beside that, Reiser3 works fine for me. No total freezes I know of.
Maybe you should mount reiserfs with the "notail" option for video-partitions, which should kill most of the overhead. I run reiserfs with vdr since 10 years or so, no problems at all even when running in 100% used diskspace often.
Guido Fiala wrote:
Maybe you should mount reiserfs with the "notail" option for video-partitions, which should kill most of the overhead. I run reiserfs with vdr since 10 years or so, no problems at all even when running in 100% used diskspace often.
AFAIK notail disables reiser's ability to pack small (<12k) files together, and since recordings are just a little bit bigger, I don't think that this would help.
The time I had this issue, I was excessively using VDR's ability to automatically delete old recordings, so free disk space was always running down to 1 GByte (39 min), and this remaining GByte was mostly fragmented down to thousands of pieces of a few KBytes. I doubt that any other file system would do better.
Cheers,
Udo
On Tuesday 24 April 2007 19:34, Udo Richter wrote:
AFAIK notail disables reiser's ability to pack small (<12k) files together, and since recordings are just a little bit bigger, I don't think that this would help.
Yes and no- it doesn't have to gather / manage tails that way and there are also los of small files in the video-dir/same partition.
The time I had this issue, I was excessively using VDR's ability to automatically delete old recordings, so free disk space was always running down to 1 GByte (39 min), and this remaining GByte was mostly fragmented down to thousands of pieces of a few KBytes. I doubt that any other file system would do better.
Most system start to degrade heavily from 70% filled.