Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Performance issues
#2
(20-08-2019, 05:07 PM)Smurfj3 Wrote: Hello,

I discovered some performance issues I did not notice until more players joined but every rope generated takes about 15 fps away which is quite a lot considering I need about 20 ropes to be able to render at the same time. Are my expectations just way to high or is there something I did wrong? I can literally disable the rope and my fps instantly jumps at least 15.

The way my ropes work is they are constantly moving which is of course more demanding then static ropes I assume. Basically there is the players hand and then there is an animal that is on a lease, so the rope constantly need updating.

Help is appreciated Sonrisa

Hi there,

One word: profile  Sonrisa

15 fps per rope is a lot, but without profiling, figuring out the cause is close to impossible. Maybe you have too many iterations per step, or maybe your rope rendering is taking up too much time, or maybe your timestep is too low.

Maybe you're hitting the "well of despair/death spiral", or whatever you call it. - If you don't know what this is, it is a critical topic when dealing with physics. Some resources: https://johnaustin.io/articles/2019/fix-...y-timestep
https://docs.nvidia.com/gameworks/conten...of-despair
https://www.youtube.com/watch?v=sUVqa-72-Ms

There's no magic improve performance button anywhere, so profiling is the only way to tell what the problem is, which is the first step towards fine-tuning performance.

Also, static ropes are just as costly as moving ones. Both need to be simulated, as long as they're visible to a camera.
Reply


Messages In This Thread
Performance issues - by Smurfj3 - 20-08-2019, 05:07 PM
RE: Performance issues - by josemendez - 20-08-2019, 05:46 PM
RE: Performance issues - by Smurfj3 - 20-08-2019, 06:53 PM
RE: Performance issues - by josemendez - 20-08-2019, 07:25 PM
RE: Performance issues - by Smurfj3 - 20-08-2019, 08:09 PM
RE: Performance issues - by josemendez - 21-08-2019, 04:28 PM
RE: Performance issues - by Smurfj3 - 22-08-2019, 08:59 PM
RE: Performance issues - by josemendez - 23-08-2019, 07:22 AM
RE: Performance issues - by Mancomb - 10-09-2019, 07:59 AM
RE: Performance issues - by josemendez - 10-09-2019, 08:36 AM
RE: Performance issues - by Smurfj3 - 22-10-2019, 04:09 AM
RE: Performance issues - by Smurfj3 - 01-11-2019, 06:28 PM
RE: Performance issues - by StudioTatsu - 03-11-2019, 10:24 PM
RE: Performance issues - by josemendez - 04-11-2019, 02:19 PM
RE: Performance issues - by Smurfj3 - 25-11-2019, 05:05 PM
RE: Performance issues - by Wattosan - 06-12-2019, 09:04 AM
RE: Performance issues - by josemendez - 09-12-2019, 12:22 AM
RE: Performance issues - by Wattosan - 09-12-2019, 12:53 PM
RE: Performance issues - by josemendez - 09-12-2019, 04:23 PM
RE: Performance issues - by Wattosan - 10-12-2019, 12:15 PM
RE: Performance issues - by josemendez - 10-12-2019, 12:28 PM
RE: Performance issues - by Wattosan - 10-12-2019, 01:16 PM
RE: Performance issues - by josemendez - 10-12-2019, 01:37 PM
RE: Performance issues - by Wattosan - 10-12-2019, 02:00 PM
RE: Performance issues - by josemendez - 10-12-2019, 02:42 PM
RE: Performance issues - by Wattosan - 10-12-2019, 03:43 PM
RE: Performance issues - by josemendez - 10-12-2019, 04:03 PM
RE: Performance issues - by Wattosan - 11-12-2019, 08:11 AM
RE: Performance issues - by BisuDagger - 10-12-2019, 05:25 PM
RE: Performance issues - by josemendez - 10-12-2019, 05:39 PM
RE: Performance issues - by BisuDagger - 10-12-2019, 05:47 PM
RE: Performance issues - by josemendez - 10-12-2019, 06:01 PM