Wine spending a lot of time doing mallocs

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
adolfintel
Newbie
Newbie
Posts: 3
Joined: Sat Aug 17, 2019 7:54 am

Wine spending a lot of time doing mallocs

Post by adolfintel »

I'm trying to figure out why the performance in Star Wars Knights of the Old Republic (2003) is bad in some areas. Using perf to record what's happening, I can see that the game seems to be severely CPU bottlenecked (in general, not just in those areas) by an enormous amount of time spent running malloc (39% of time), specifically the SSSE3 variant, and those calls are coming from wine territory.

I want to investigate this further, but I'm not sure how to proceed, can someone point me in the right direction or to some tools that might help me identify the problem?

Thanks
Locked