ReadFile speedup

Hannu Kotipalo hannu.kotipalo at iki.fi
Tue Nov 12 15:18:05 CST 2002


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

Hannu Kotipalo kirjoitti Sunnuntai 10. Marraskuuta 2002 14:49:
> are speeded up a lot. For example, wzebra opening database readout :
>
>  Before : over 700 seconds
>  After : 12-13 seconds
>
A new version, replacing the earlier.
I tested this with a few applications, looks like for most of applications 
this has not much effect. However, wzebra proves that the effect can be 
enourmous on some. (And Simcity tellls that it can be negative on some 
applications :-(

Changelog:
- - This patch speeds up applications reading files by small packets
- - 4 static 512 byte buffers (can be defined for n * n buffers, see file.c)
- - Buffer invalidation mechanism changed. With several buffers this *should* 
fix the reported (thans to Tony Lambregts) slowdown on SIMCITY2000. I haven't 
got it, cannot test. Please test and see -debugmsg +file, it can give a hint 
about needed buffers and their sizes. 

diff is made by 
'diff -urN wine-20021031/ wine-20021031-patched/ > patch.diff'

Hannu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE90XAUuA3ghgc3fUsRAuk7AKDwLK/E4WzkCHMf0j615aktFuiWEgCgt0xq
FLujbIUEEASUu9K51siPOwA=
=RxKU
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 7877 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20021112/36a80847/patch.bin


More information about the wine-devel mailing list