[Bug 24256] 3D Sexvilla 2: extremely long loading times

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jul 5 06:47:41 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=24256

Luuk <luukhemelvaarder at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |luukhemelvaarder at gmail.com

--- Comment #12 from Luuk <luukhemelvaarder at gmail.com> 2013-07-05 06:47:41 CDT ---
(In reply to comment #10)
> I wonder if it's heap-related.  Try this patch that's been floating around:
> 
> diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c
> index a9044714..9017882 100644
> --- a/dlls/ntdll/heap.c
> +++ b/dlls/ntdll/heap.c
> @@ -116,7 +116,9 @@ C_ASSERT( sizeof(ARENA_LARGE) % LARGE_ALIGNMENT == 0 );
>  /* Max size of the blocks on the free lists */
>  static const SIZE_T HEAP_freeListSizes[] =
>  {
> -    0x10, 0x20, 0x30, 0x40, 0x60, 0x80, 0x100, 0x200, 0x400, 0x1000, ~0UL
> +    0x10, 0x18, 0x20, 0x28, 0x30, 0x38, 0x40, 0x48, 0x50, 0x58, 0x60, 0x68,
> +    0x70, 0x78, 0x80, 0x88, 0x90, 0x98, 0xA0, 0xA8, 0xB0, 0xB8, 0xC0, 0xC8,
> +    0xD0, 0xD8, 0xE0, 0xE8, 0xF0, 0xF8, 0x100, 0x200, 0x400, 0x1000, ~0UL
>  };
>  #define HEAP_NB_FREE_LISTS 
> (sizeof(HEAP_freeListSizes)/sizeof(HEAP_freeListSizes[0]))

I can confirm that this patch works. It severly reduces the loading times. The
game still loses responsiveness during the loading every once in a while but it
always comes back.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list