Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Slowly increasing lag - the longer I use the client, the laggier it gets

Adam Kaupas
Registered User
Join date: 20 Aug 2006
Posts: 24
09-23-2006 10:26
I've been using the 1.12.1.9 linux client, and one thing I've noticed is that the longer I use it - usually after a few hours - it starts to get very, very laggy.
Quickly logging back in brings it right back to faster-than-windows-client, but again after a few hours it's so laggy letters appear a few seconds after I type them, and moving is really jerky.

Not sure if this is something like a slowly increasing log file or a memory leak or something?
Is anyone else getting this?
Signore Iredell
Registered User
Join date: 11 Aug 2006
Posts: 43
I notice it too (sometimes)
09-23-2006 11:10
I saw the same thing happening some days ago to me, while in the last days I didn't notice it.

I'm now at 800 kb/s and 500 Mb cache, BTW.
Adam Kaupas
Registered User
Join date: 20 Aug 2006
Posts: 24
09-23-2006 11:19
That's a thought - perhaps it's the cache filling up. I've tried setting the cache to 500MB now..
Will see if it helps.
Adam Kaupas
Registered User
Join date: 20 Aug 2006
Posts: 24
09-23-2006 12:22
Nope, doesn't seem to help it any.
Merrick Moose
Registered User
Join date: 20 Oct 2005
Posts: 191
09-23-2006 13:55
Check the swap file use on your machine, if the cache can not be held in ram your system will use an area of your hard drive. So once the cache exceeds ram your disk swap get used and that will slow the game down significantly. Setting the cache much larger than your available ram will probably result in a slow down.
Adam Kaupas
Registered User
Join date: 20 Aug 2006
Posts: 24
09-23-2006 14:03
Why would the cache be held in RAM? I thought generally that was cached locally to stop you having to re-download, not cached in RAM for fast loading.
As it is, I've got 2GB ram, and even when SL's lagging there's still several hundred MB free. Besides, setting the cache to 500MB didn't seem to help. I'll keep experimenting...
Merrick Moose
Registered User
Join date: 20 Oct 2005
Posts: 191
09-23-2006 17:26
From: Adam Kaupas
Why would the cache be held in RAM? I thought generally that was cached locally to stop you having to re-download, not cached in RAM for fast loading.
As it is, I've got 2GB ram, and even when SL's lagging there's still several hundred MB free. Besides, setting the cache to 500MB didn't seem to help. I'll keep experimenting...



The disk cache is for loading yes. Though there is a cache where the game runs from that is held in ram. But if you have that much system ram that is not likely the problem. How about your connection, does packet loss increase? The quality of your link to the game may change over time. Some ISP's drop the QOS to people using lots of bandwidth of they do it for a while so a fresh connection gets a better QOS than an older one using more bandwidth.

It could really be lots of things. Any thing else other than general lag going on?
Adam Kaupas
Registered User
Join date: 20 Aug 2006
Posts: 24
09-23-2006 17:55
Packet loss stays normal - barely noticeable. I don't think it's a network problem; everything else internet-related stays fine. Plus the lag is in the client itself - typing is slow, moving the camera around is slow (things that work even when there's no connection at all).

It seems to have subsided some, I'll check more tomorrow.
Llauren Mandelbrot
Twenty-Four Weeks Old.
Join date: 26 Apr 2006
Posts: 665
This happened to me too
09-25-2006 07:49
This happened to me too, for the first time that I recall noticing, last night. I typicaly run with the default bandwidth of 500, and a local cache of 500 too. My system specs are in post #16 of Yet Another Newby Needing Help, except my OS is up-to-date.
Merrick Moose
Registered User
Join date: 20 Oct 2005
Posts: 191
09-25-2006 15:34
From: Llauren Mandelbrot
This happened to me too, for the first time that I recall noticing, last night. I typicaly run with the default bandwidth of 500, and a local cache of 500 too. My system specs are in post #16 of Yet Another Newby Needing Help, except my OS is up-to-date.



There could be a memory leak. The game can be losing track of memory or have a run off process. Lets think about a memory leak first.

When you first start and log in to SL run 'pmap' with the argument of secondlife-bin process ID, this will give the memory used and files open by the client. Then when the slow down is bad run pmap the same way again. Post only the differences. If there are a lot of them please post in a cut window.

--EDIT--
0000000009c05000 226496K rw--- [ anon ]
Yeah, that looks like this address does not release memory back, it eats more and more. I can't really tell what happens. This one address is 100x bigger than all the rest. Total SL size at the measure time was 890740k, so that accounts for 1/4th of the memory used.
Valen Leinhardt
Registered User
Join date: 14 Jul 2006
Posts: 42
09-26-2006 07:09
Sometimes I find that SL "forgets" it's Bandwidth settings. If I start seeing that all the sudden things are rezzing really really slowly but network usage is almost nothing, I'll go wiggle the bandwidth throttle bar (I really wish there was an option to DISABLE bandwidth throttling alltogether) and it'll instantly pick back up. Silly, isn't it?
Angel Sunset
Linutic
Join date: 7 Apr 2005
Posts: 636
09-27-2006 04:14
What I have seen with texture lag in the past, is that my texture cache got full (ctrl shift 3 with debug menu on gives you some details on this).

After that, only relogging helped.

However, since SL Linux now caches intelligently (and I have 512 MB video RAM available on my graphic card), I don't see this problem any more.

This DID affect my general lag too, so that I was usually forced to relog.

On a 128 MB card (NVidia FX 5200), I have had full texture cache both in Windows and Linux, and only a relog got me going again - this after visiting several shops, each with DOZENS of displays, looking for That Special outfit :D

Not sure if its relevant, but this lag WAS time dependent...
_____________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kubuntu Intrepid 8.10, KDE, linux 2.6.27-11, X.Org 11.0, server glx vendor: NVIDIA Corporation, server glx version: 1.5.2, OpenGL vendor: NVIDIA Corporation, OpenGL renderer: GeForce 9800 GTX+/PCI/SSE2, OpenGL version: 3.0.0 NVIDIA 180.29, glu version: 1.3, NVidia GEForce 9800 GTX+ 512 MB, Intel Core 2 Duo, Mem: 3371368k , Swap: 2570360k
Sandro Planer
Distracted User
Join date: 3 Apr 2007
Posts: 16
02-05-2008 07:10
Hello, i have the same problem with my SL-viewer on my laptop: acer aspire 1800 with ati mobility radeon x600 and 1GB of ram.
I have tried with ubuntu feisty and gutsy with restricted drivers and all others open-source drivers; the result is the same! lag symptoms: turning and typing very very very slow.
Walter1 Siddeley
Registered User
Join date: 19 Feb 2008
Posts: 4
I ran into it night before last
02-19-2008 16:19
I ran into it night before last, after probably three hours, it was early in the morning. I had another crash today but not after a "lag", SL "just stopped", there was some comment when SL relaunched that there was "a bug" from a few folks I was watching, that was around 4:18 pm, this is 6:18 pm.

Again, no lag, it just stopped, SL said there was a crash and asked to send a report, but did not come back up.