New Update Causing Massive Lag Spikes?

Language: JP EN DE FR
New Items
2018-08-14
105 users online
Forum » Windower » Support » New update causing massive lag spikes?
New update causing massive lag spikes?
 Cerberus.Kylos
Offline
Server: Cerberus
Game: FFXI
user: Kylos
Posts: 2966
By Cerberus.Kylos 2018-03-29 10:43:10
Link | Quote | Reply
 
Not getting massive lag, but it seems when I was popping Aello last night there would be a lag spike when I go to engage. It was pretty seamless before.
 Shiva.Berzerk
Offline
Server: Shiva
Game: FFXI
user: Berzerk06
Posts: 179
By Shiva.Berzerk 2018-03-29 11:38:26
Link | Quote | Reply
 
Bismarck.Radec said: »
I'll second it's related to findall - as soon as the screen gets a little busy (Ramuh AoEs in Omen) the console on both characters fills up with

findAll: Lua runtime error: libs/files.lua:192: attempt to index local 'fh' (a nil value)

and the stuttering starts.

Once one character left, it only happened on the character still in omen - no errors logged sitting in Jeuno

This is what I've been experiencing also on 3 chars, primarily on the main character but it happens occasionally on the other 2. Unloading findall resolved it for now, no more stutter or errors thrown in console.

Other times i've had Logger randomly freak out and plummet my FPS to 1-2 whenever something happens in chatlog. This is usually when i clear out old chatlogs and it's fixed not too long after that.
 Odin.Drakenv
Offline
Server: Odin
Game: FFXI
user: Drakenv
Posts: 2940
By Odin.Drakenv 2018-03-29 14:15:25
Link | Quote | Reply
 
Hmm I haven’t changed anything with my four mains with windower and nothing.
 Asura.Solidous
Offline
Server: Asura
Game: FFXI
user: admx9
Posts: 5
By Asura.Solidous 2018-03-29 15:46:07
Link | Quote | Reply
 
The stutter is pretty bad. It started as soon as I updated the lua core.(not by choice just happened to open windower for my mule) I get them on both instances.
 Odin.Drakenv
Offline
Server: Odin
Game: FFXI
user: Drakenv
Posts: 2940
By Odin.Drakenv 2018-03-29 15:51:27
Link | Quote | Reply
 
Asura.Solidous said: »
The stutter is pretty bad. It started as soon as I updated the lua core.(not by choice just happened to open windower for my mule) I get them on both instances.
This so weird I wonder why I’m having 0 issues :0
 Asura.Azzariah
Offline
Server: Asura
Game: FFXI
user: Azzariah
Posts: 14
By Asura.Azzariah 2018-03-29 18:44:14
Link | Quote | Reply
 
Experiencing this as well. Just updated today and noticed the spikes right away while in Dho Gates
 Lakshmi.Reddwarf
Offline
Server: Lakshmi
Game: FFXI
user: Reddwarf
Posts: 155
By Lakshmi.Reddwarf 2018-03-29 20:07:30
Link | Quote | Reply
 
can confirm, unloading findall fixes my issues.. such a great plugin too.
 Fenrir.Cherrywine
Offline
Server: Fenrir
Game: FFXI
Posts: 1001
By Fenrir.Cherrywine 2018-03-29 20:21:19
Link | Quote | Reply
 
Lakshmi.Reddwarf said: »
can confirm, unloading findall fixes my issues.. such a great plugin too.

Thank you for identifying the issue. I'll try this too!
 Asura.Selindrile
Offline
Server: Asura
Game: FFXI
Posts: 72
By Asura.Selindrile 2018-04-03 22:31:01
Link | Quote | Reply
 
Turning off Findall seems to have fixed my lag issues as well.
Online
Posts: 168
By Sammeh 2018-04-14 21:42:58
Link | Quote | Reply
 
So I'm not 100% sure why, but after a lot of troubleshooting I decided to comment out the coroutine.yield in the make_table function. This seems to have completely removed my lag issue. Line 472. (Just put a -- in front of the line that says coroutine.yield() in that function).

Code
function make_table(tab,tab_offset)
    -- Won't work for circular references or keys containing double quotes
    local offset = " ":rep(tab_offset)
    local ret = "{\n"
    for i,v in pairs(tab) do
        ret = ret..offset..encase_key(i)..' = '
        if type(v) == 'table' then
            ret = ret..make_table(v,tab_offset+2)..',\n'
        else
            ret = ret..tostring(v)..',\n'
        end
    end
    --coroutine.yield()
    return ret..offset..'}'
end
[+]
 Asura.Cair
VIP
Offline
Server: Asura
Game: FFXI
user: Minjo
Posts: 215
By Asura.Cair 2018-04-15 00:16:15
Link | Quote | Reply
 
Eh, no wonder I couldn't replicate. That's not in my file.
 Asura.Eiryl
Online
Server: Asura
Game: FFXI
user: Eiryl
By Asura.Eiryl 2018-04-15 00:19:35
Link | Quote | Reply
 
Dumb question, why do you have a different findall

If you have a better version, logically, (for this exact reason) shouldn't we all use the same thing.

You probably have the modified (better) enternity too.
 Asura.Cair
VIP
Offline
Server: Asura
Game: FFXI
user: Minjo
Posts: 215
By Asura.Cair 2018-04-15 00:24:08
Link | Quote | Reply
 
The last findall push was several months ago (by me, I think, also trying to fix the lag), so any local file changes since wouldn't have been overwritten. I'm guessing I pushed my changes live and then changed it some more and forgot about it.

Anyway, I will push that live since it's definitely the culprit. Thanks for pointing that out, never would have noticed.

Edit: My eternity is the same as the live one AFAIK, not sure what you mean by "better".
 Asura.Eiryl
Online
Server: Asura
Game: FFXI
user: Eiryl
By Asura.Eiryl 2018-04-15 00:28:52
Link | Quote | Reply
 
Did you ever figure out why logger was doing the exact same thing like 6 months ago? I still haven't even attempted to turn it back on.

Byrth modified his enternity to skip passed the "green text" that causes all of ours to stop. Assuming you would do the same thing. maybe you didn't.
 Bismarck.Speedyjim
Offline
Server: Bismarck
Game: FFXI
user: speedyjim
Posts: 516
By Bismarck.Speedyjim 2018-04-15 00:29:39
Link | Quote | Reply
 
Sammeh said: »
So I'm not 100% sure why, but after a lot of troubleshooting I decided to comment out the coroutine.yield in the make_table function. This seems to have completely removed my lag issue. Line 472. (Just put a -- in front of the line that says coroutine.yield() in that function).

Code
function make_table(tab,tab_offset)
    -- Won't work for circular references or keys containing double quotes
    local offset = " ":rep(tab_offset)
    local ret = "{\n"
    for i,v in pairs(tab) do
        ret = ret..offset..encase_key(i)..' = '
        if type(v) == 'table' then
            ret = ret..make_table(v,tab_offset+2)..',\n'
        else
            ret = ret..tostring(v)..',\n'
        end
    end
    --coroutine.yield()
    return ret..offset..'}'
end
You're my hero.
 Asura.Cair
VIP
Offline
Server: Asura
Game: FFXI
user: Minjo
Posts: 215
By Asura.Cair 2018-04-15 00:38:28
Link | Quote | Reply
 
I think that you can just delete this part if you want that behavior from enternity:

and not original:match(string.char(0x1e, 0x02))

The addon never updates so it won't overwrite, and it's not meant to be a secret. Guessing nobody felt like writing settings.
 Asura.Chiaia
Offline
Server: Asura
Game: FFXI
user: Demmis
Posts: 834
By Asura.Chiaia 2018-04-15 02:05:30
Link | Quote | Reply
 
Asura.Cair said: »
I think that you can just delete this part if you want that behavior from enternity:

and not original:match(string.char(0x1e, 0x02))

The addon never updates so it won't overwrite, and it's not meant to be a secret. Guessing nobody felt like writing settings.
I'll go ahead and actually do a update to it so there is a setting.
Log in to post.