time of writing

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
9ae6
Newbie
Newbie
Posts: 3
Joined: Fri Jun 05, 2009 11:48 pm

time of writing

Post by 9ae6 »

Hello,

I was using an othello program "WZebra" on windows and I was reading and writing a file called book.bin with this program. Now I prefer and use Linux for some reasons.

I have installed WZebra4.2.1 (4.2.4 doesn't works) under WINE because the linux version get several bugs. Then I have tried some version of WINE and actually I have the last version 1.1.22 compiled.

I don't have a problem of time to read the file book.bin but only when WZEBRA is writing.
with WZEBRA + WINDOWS98SE or XP : total time : about 5 secs
with WZEBRA + LINUX + WINE + WIN98SE or XP mimic) : total time : about 200 secs

I suspect that it's not a specific but a general problem under WINE.

Any idea to improve this time under WINE please?

Thank you in advance if anyone can help me
9ae6
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: time of writing

Post by vitamin »

9ae6 wrote:with WZEBRA + WINDOWS98SE or XP : total time : about 5 secs
with WZEBRA + LINUX + WINE + WIN98SE or XP mimic) : total time : about 200 secs
Could be lots of different things. Hard to tell without knowing how and what it's writing onto what FS (file system) which is configured how?

Id say run Wine under profiler and see where it spends all the time.
9ae6
Newbie
Newbie
Posts: 3
Joined: Fri Jun 05, 2009 11:48 pm

Post by 9ae6 »

what FS (file system) which is configured how?
My OS is Vectorlinux 6.0 gold (xfce4) with reiserfs system partition (primary).
But I have tried with ext2, ext3, and fs system and I have the same problem.

I can see too that the total time to add a new result on book.bin ( result = 200 Bytes) is based on the size of book.bin -_-
Here somes examples that I have measured :
Book.bin size => total time (to add 200 bytes)
1MB => about 1 sec
5MB => about 5 sec
50MB => about 50sec
100MB => about 100 sec
200MB(the actual size of my book.bin) => about 200 sec
Id say run Wine under profiler and see where it spends all the time.
I have tried somes profiles with WINE ( windows 2.0 3.0 3.1, NT 3.5 4.0, 95, 98, ME, 2000, XP, vista, windows 2008) and I have the same problem... :'(
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

time of writing

Post by austin987 »

On Sun, Jun 7, 2009 at 5:49 AM, 9ae6<[email protected]> wrote:
Id say run Wine under profiler and see where it spends all the time.
I have tried somes profiles with WINE ( windows 2.0 3.0 3.1, NT 3.5 4.0, 95, 98, ME, 2000, XP, vista, windows 2008) and I have the same problem... :'(
Vitamin meant a system profiler, e.g., oprofile, to trace the wine
processes and see where the time is being spent.

--
-Austin
9ae6
Newbie
Newbie
Posts: 3
Joined: Fri Jun 05, 2009 11:48 pm

Post by 9ae6 »

I have installed oprofile but I don't know which exact syntax to put in order to use this command. The "man oprofile" isn't help me :( . Can you help me please?
Here the htop informations about zebra:
PID : 30975 USER : 9ae6 PRI : 20 NI : 0 VIRT : 2593M RES : 611M
SHR : 7252 S : R CPU% : 92 - 94% MEM% : 30% (818/2022MB)
TIME : 1 : 33 : 08

Command : Z : \home\9ae6\PROGRAMMES\WZEBRA\wzebra.exe
Swap : 131/2047MB

Sorry I am again a noob on linux world ^^. I Imagine that oprofile must be launched when WZEBRA is writing on this book.bin. Right?
Thank you again in advance... ^^
Locked