Android vs Ios - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html) +--- Thread: Android vs Ios (/thread-205.html) Pages:
1
2
|
RE: Android vs Ios - josemendez - 28-10-2017 (28-10-2017, 08:11 AM)mimarilker Wrote: Hi, Fluid simulation is extremely expensive regardless of the device, so high (almost 100%) CPU usages are to be expected. The library is indeed the same for both architectures, and there are no obvious optimizations that can be made for Android. I'm still profiling in several Android devices, will get back to you asap. RE: Android vs Ios - mimarilker - 28-10-2017 I am agree with you on high cpu requirements. Thanks for the reply, waiting for your solution. (28-10-2017, 10:38 AM)josemendez Wrote: Fluid simulation is extremely expensive regardless of the device, so high (almost 100%) CPU usages are to be expected. The library is indeed the same for both architectures, and there are no obvious optimizations that can be made for Android. I'm still profiling in several Android devices, will get back to you asap. RE: Android vs Ios - josemendez - 30-10-2017 (28-10-2017, 10:55 AM)mimarilker Wrote: I am agree with you on high cpu requirements. Thanks for the reply, waiting for your solution. Hi there, I profiled Obi in multiple Android devices: Galaxy S4, Galaxy S6 Edge, Nexus 5X. and iOS devices: iPhone 4S, iPhone 5, iPhone 6. The performance differences were negligible in most cases. In certain instances, the Android devices outperformed the iOS one by almost a factor of 15%. Galaxy S4 in particular took about 3ms less per frame than iPhone 4S in the FluidKarmanVortex scene. Performance in this particular scene was around 2-3 fps in the slowest device (iPhone 4S) and around 15 fps in the fastest (iPhone 6), due to the fact that it is the second most demanding test scene included (not only fluid simulation is taking place, but also particle advection of close to 10000 regular particles). We ran the included version, no changes made to it. Also took a deep look at all compilation options used for the Android library, and they're optimal: NEON support is enabled, -O3 optimization level used in release mode. So, I couldn't find any difference in performance between both platforms at all, in any device. If you could elaborate on how you're profiling your game, what compilation options you are using both for Android and iOS or maybe share your builds, we could investigate this further. RE: Android vs Ios - mimarilker - 30-10-2017 But I have different results than you. Even S7 doesnt show a good performance like iphone6. As I said particle amount 1800, duration 4 secs. I didn’t do any different thing in compilation options, they are Unity’s default. My camera is aconometric btw and in solver I checked simulate when invisible option, otherwise ipad didnt show prticles (no probllem woth iphone). Do you advice any settings for compilation for Android? A detailed advice would be useful. (30-10-2017, 04:54 PM)josemendez Wrote: Hi there, RE: Android vs Ios - josemendez - 30-10-2017 (30-10-2017, 05:03 PM)mimarilker Wrote: But I have different results than you. Even S7 doesnt show a good performance like iphone6. As I said particle amount 1800, duration 4 secs. I didn’t do any different thing in compilation options, they are Unity’s default. My camera is aconometric btw and in solver I checked simulate when invisible option, otherwise ipad didnt show prticles (no probllem woth iphone). Do you advice any settings for compilation for Android? A detailed advice would be useful. These are the compilation options I'm using for Android. As long as you're not doing something obviously wrong (like deploying a development/debug build), I'm out of ideas on why you're seeing such huge performance difference. If you could share your project I could take a look at it though. RE: Android vs Ios - mimarilker - 30-10-2017 (30-10-2017, 06:09 PM)josemendez Wrote: These are the compilation options I'm using for Android. As long as you're not doing something obviously wrong (like deploying a development/debug build), I'm out of ideas on why you're seeing such huge performance difference. If you could share your project I could take a look at it though. Thanks for your reply, actually my settings were different too much, for instance I was using mono instead of ilcpp, first I will try this and make you know. |