Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Debug stats suggest attachments are causing lag...

Laukosargas Svarog
Angel ?
Join date: 18 Aug 2004
Posts: 1,304
11-11-2005 14:59
or maybe I'm reading it wrong ... see attached pic.

( maybe lag is the wrong word, read "low FPS" )

1.7 allows you to toggle the display of all the stats in the graph, the ones I'm displaying here are avatars and attachments. I've noticed when I hit a very laggy sim very often this is the cause of the lag ( nearly always more so than scripted non- attached objects ). In this example there there are only 6 AVs in the sim ( including me wearing zero attachments ) and the ping times I'm getting seem to relate to the amount of time the client is spending doing something or other with attachments on avatars I can't even see.

Am I reading this correctly ? 350 or so ms to deal with attachments and avatars, none of which are in my immediate vicinity.

The sim I came from into this one had 11 avatars and I had a frame rate of 11fps which is good for my old machine. When I entered this sim initially I had a period of bad packet loss and pings of 1100ms , eventually it settled down to the stats shown in the picture.

I've used this method a few times now in various sims, and it seems to be a pattern, laggy sim, ... long time spent in attachment handling .
Nathan Stewart
Registered User
Join date: 2 Feb 2005
Posts: 1,039
11-11-2005 15:41
I'll keep an eye out for this, these numbers are extremely high, i have chosen the same settings and to relate to what they should look like at the same location of your shots, i was getting 3.5ms with 4av's in sim and 3 childs, I then went to icedragon and there was 60 av's in sim and was getting 32ms.
_____________________
Eep Quirk
Absolutely Relative
Join date: 15 Dec 2004
Posts: 1,211
11-12-2005 14:33
Most likely the attachments are listeners, which seem to cause an excessive amount of lag in SL 1.7+ now.
Laukosargas Svarog
Angel ?
Join date: 18 Aug 2004
Posts: 1,304
11-14-2005 16:16
I've managed to confirm the above pattern many times now, when I hit a period of 1FPS or less I look at the fast timers and it's always in the attachments.
Eep Quirk
Absolutely Relative
Join date: 15 Dec 2004
Posts: 1,211
11-14-2005 18:51
Try testing this with one person you know is causing the lag. You can tell it's a single person if you reduce your visibility to 64m in an empty area (like a sandbox that's just been wiped). and the person comes into visibility (is rendered) and lag occurs. Ask them to remove all their attachments, then slowly put them back on and see which one is the culprit.
Darkness Anubis
Registered User
Join date: 14 Jun 2004
Posts: 1,628
11-15-2005 04:38
Lauk I have an attachment in my possesion that I stopped using during 1.6 because I noticed it dropped sim FPS (at the measure at that time) by 150. Bet its worse now. I am not sure if the thing is transferrable but contact me in game and I will either pass it to you or give you the name and maker of it so you can test things further. :)
Laukosargas Svarog
Angel ?
Join date: 18 Aug 2004
Posts: 1,304
11-15-2005 04:54
Let me clarify, these are not my attachments. I'm not wearing any when I do these timing tests. But the fast timers are showing my client spending large amount of time in what seems to be attachment handling code ( if I'm reading the timer graph correctly ). But it does seem to only happen when other AVs are in the sim, ( coincidence ? I'm not sure ).

View distance does not seem to matter. In the test shown in the picture there were no AVs in view.
Darkness Anubis
Registered User
Join date: 14 Jun 2004
Posts: 1,628
11-15-2005 04:57
From: Laukosargas Svarog
Let me clarify, these are not my attachments. I'm not wearing any when I do these timing tests. But the fast timers are showing my client spending large amount of time in what seems to be attachment handling code ( if I'm reading the timer graph correctly ). But it does seem to only happen when other AVs are in the sim, ( coincidence ? I'm not sure ).

View distance does not seem to matter. In the test shown in the picture there were no AVs in view.


ok if I can find the blasted thing in inventory lets meet up
you can take readings before I attach it and after. See what you get :)
Kurshie Muromachi
Primtastic!
Join date: 24 Apr 2005
Posts: 278
11-15-2005 12:28
How did you access this stat graph exactly? That one on the left side. I was looking around but couldn't find it.
_____________________
Laukosargas Svarog
Angel ?
Join date: 18 Aug 2004
Posts: 1,304
11-15-2005 13:26
From: Kurshie Muromachi
How did you access this stat graph exactly? That one on the left side. I was looking around but couldn't find it.


to enable Debug menu

alt+shift+ctl+D

when the Debug menu is enabled

alt+shift+9
Doc Nerd
Registered User
Join date: 7 Oct 2005
Posts: 20
11-15-2005 14:22
I've noticed something similar to this from my very short time being on 1.6 to 1.7. I've noticed that ping and FPS are very inversely related (one goes up, the other goes down, and vice versa). It's not really an issue of attachments so much as it is of the number of avatars in view.

If only I'm in view, I get a nice steady 100+- ping from both the user and sim and a nice 12-15 FPS. If I look more inland towards a sim with no other avatars in view, I'll get about 100+- user ping, 200-300+- sim ping and maybe about 10 FPS. But when another avatar is in view in either case, ping goes insanely FUBAR at about an additional 10000+- ping on both the user and sim for every other avatar but my own in view (1 other avatar = 10000, 3 other avatars = 30000) and the FPS shoots down to hell at <= 1 FPS.

I've worn an avatar with over 400 prims on it, some of which being heavily scripted listeners, and get the same results as though I were naked.
Laukosargas Svarog
Angel ?
Join date: 18 Aug 2004
Posts: 1,304
11-15-2005 15:41
From: Doc Nerd
I've noticed something similar to this from my very short time being on 1.6 to 1.7. I've noticed that ping and FPS are very inversely related (one goes up, the other goes down, and vice versa). It's not really an issue of attachments so much as it is of the number of avatars in view.

If only I'm in view, I get a nice steady 100+- ping from both the user and sim and a nice 12-15 FPS. If I look more inland towards a sim with no other avatars in view, I'll get about 100+- user ping, 200-300+- sim ping and maybe about 10 FPS. But when another avatar is in view in either case, ping goes insanely FUBAR at about an additional 10000+- ping on both the user and sim for every other avatar but my own in view (1 other avatar = 10000, 3 other avatars = 30000) and the FPS shoots down to hell at <= 1 FPS.

I've worn an avatar with over 400 prims on it, some of which being heavily scripted listeners, and get the same results as though I were naked.



Sounds similar, try looking at the fast timers next time and see if they're mainly pink and purple as in the picture.
Thili Playfair
Registered User
Join date: 18 Aug 2004
Posts: 2,417
11-15-2005 22:25
Doc Nerd ; wear 400 prim toruses ,smaller they are more they will kill your fps, i have a 755 prim hair (ish) and it make anyone near me drop to <1 fps if they stare near it :D ... i didnt make it!. :p its like a relic from early days when Torus was new !

Im still waiting for slowdown so i can peek at the new timers <.< only time i got it high was when i was rezzing nearly 3500 prims at once ... but that really hurt the sim to :P
Eep Quirk
Absolutely Relative
Join date: 15 Dec 2004
Posts: 1,211
11-16-2005 03:02
You probably have local lighting off and object LOD (level of detail) all the way left. Turn it on and max the object LOD and you'll grind to a halt too...
Thili Playfair
Registered User
Join date: 18 Aug 2004
Posts: 2,417
11-16-2005 08:13
nuuh i have max on object, tree, avatar slider, local lighting is usually on, especially when i build, unless im on a place wich has a neighbouring sim, that kills me (mainland is hell).

But yeah im pretty sure hud has buggyness, new things usually do.
Eep Quirk
Absolutely Relative
Join date: 15 Dec 2004
Posts: 1,211
11-16-2005 19:51
Well, unless you're on a supercomputer (or at least an AMD FX/Pentium D dual-core CPU and the very latest and best video card (GeForce FX 7800GTX), and a gajillion GB of RAM, you HAVE to experience lag with 755-prim hair. Try zooming in and out on it and the LOD adjustment should kill your framerate too.

I have a Pentium D 820 (2.8GHz) CPU, GeForce 6600GT (128MB RAM), and 1GB RAM and I lag so easily now with SL 1.7--it's quite ridiculous.
Thili Playfair
Registered User
Join date: 18 Aug 2004
Posts: 2,417
11-16-2005 20:58
did you read what i posted?

yes i have tons of geometric rendering if i where near a torus cluster like that <1 fps easy.

But i have yet to see any hud / attachment that make my timers go that high, im looking for it ,sometimes go to most busiest places i can find just to see how it goes.

btw im on a
x2-4800
4 gig ram
6800gt,

64-3500
2 gig ram
6800gt,

yes i have LL on, yes i have max on object details, on both, but very rare if im near 20+ people and LL is never on mainland.


Pic of a sim that had from 50-68 avatars in it, not the most impressive fps but duh,
http://forums.secondlife.com/attachment.php?attachmentid=31477&stc=1
Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
11-20-2005 15:09
I'll update if I see this too. In all my checking of CTRL-SHIFT-9 I haven't yet, but I'm fond of attachments so we'll see.
_____________________
Laukosargas Svarog
Angel ?
Join date: 18 Aug 2004
Posts: 1,304
11-20-2005 15:12
I saw it again only last night. I was the only AV in Orwood when 2 AVs entered the sim, my FPS plummeted and I checked the timers and sure enough ... pink Avatars/Attachments.
The 2 AVs flew through Orwood and out the other side, on their exit my FPS regained normality.


[edit]
btw at the time of this edit there are 12 AVs in Orwood and everything is great FPS wise!
So this is some strange bug.
Shack Dougall
self become: Object new
Join date: 9 Aug 2004
Posts: 1,028
11-20-2005 17:39
From: Doc Nerd
I've noticed something similar to this from my very short time being on 1.6 to 1.7. I've noticed that ping and FPS are very inversely related (one goes up, the other goes down, and vice versa). It's not really an issue of attachments so much as it is of the number of avatars in view.


Ping time is a confusing statistic because it is sensitive to non-network factors. If the client FPS goes way down because the client is bogged down in rendering and other non-network activities, then the ping time goes up because the networking logic appears to be at a lower priority and gets starved. But that is in no way an indication that the network is clogged or that the server is responding slowly. It just means that the client is too busy to even look at the network.
_____________________
Prim Composer for 3dsMax
-- complete offline builder for prims and sculpties in 3ds Max
http://liferain.com/downloads/primcomposer/

Hierarchical Prim Archive (HPA)
-- HPA is is a fully-documented, platform-independent specification for storing and transferring builds between Second Life-compatible platforms and tools.
https://liferain.com/projects/hpa