-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Benoit wrote:
> I applied the attached patch that Jeff supplied me and so far it is
> working flawlessly. I currently have less than 4% free space on my drive
> and the CPU usage is less then 3% with two recordings going. I'll let it
> run until about 2% free space just to test further.
> 
> It also _appears_ that overall CPU usage is down slightly based on the
> vmstat output from when we were trying to diagnose the problem before
> compared to now. The SYS CPU time was hovering between 3-10% before, and
> now it seems to be between 0-2%. I haven't done any actual performance
> tests though.
> 
> Jeff, what drawbacks does this patch have?
> 
> Thanks for all your hard work, I'm sure many other MythTV users will be
> appreciate it.

Hi Mike -

There really shouldn't be any. I suspect that the window searching was
actually causing more problems than it was solving. The original goal
would have been to try to keep chunks of blocks contiguous for better
access patterns, but if those chunks end up getting spread out all over
the disk, that's hardly the outcome we were looking for.

So, what will now happen is that the allocator will allocate the next n
blocks it can find, regardless of the window size. If there happens to
be a window of the size we needed, it will automatically find it through
the normal process of allocating one block at a time.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFExUqOLPWxlyuTD7IRAuaFAJ47W+zr2ZwIs//vMgm3RNHuw4dpwACdECdv
ueI91PGuCLQdeKipY5G9kqk=
=vk6Z
-----END PGP SIGNATURE-----

Reply via email to