Archive for August, 2006

Meme time

The metros from the world I've used:
Berlin SBerlin U

Actually there are some cities listed on the original site I've been to, but didn't take the subway, like Toulouse, Rennes, Amsterdam, Barcelona, Stockholm, Fukuoka, Sendai...

2006-08-31 21:22:49+0900

me, p.d.o | Comments Off on Meme time

Two things I don’t like about “multimedia linux”

Kernel being dumb by being smart

Memory cache is a good thing to speed up a computer, but it's a PITA when it comes to stopping playing a DVD or a big video file.

The kernel usually keeps in memory cache data that has been read from the hard drive so that it can get it faster next time the same data is accessed. I don't know exactly on what grounds fragments are decided to be kept or not, but observation shows that playing a DVD or a Xvid file makes the cache grow more than significantly. Moreover, while playing the video, the other software from the desktop (nautilus, for example), is not used, thus, the kernel decides it can swap it to disk virtual memory.

Then, when you stop reading your video and want to come back to normal activity, your desktop is damn slow for some long seconds. That makes the experience a real pain.

Overuse of network bandwidth

I noticed that when I switched from a samba network share to an apache based DAV one: reading a video file from the DAV share with totem-gstreamer filled my apache logs very quickly. It seems gstreamer/gnomevfs seeks a lot in the file to play the video. Instead of making one HTTP request, it does several thousands, each time requesting again data it already received.

As a result of that, it usually takes up to 1 mega byte per second to play a video that has a bitrate of 1 mega bit per second, with a nice effect of network congestion when the bit rate grows for detailed sequences.

Do you find it normal that it takes 5 minutes to download a 45 minutes file at 2~3 MB/s, and 1MB/s for 45 minutes to play it directly from the network ?

Well, now, gstreamer 0.10 doesn't even support reading from HTTP/DAV, but the problem remains the same when reading via sftp with gnomevfs.

2006-08-19 08:40:26+0900

miscellaneous, p.d.o | 3 Comments »