Occasional drawing lags in Trunk ... VM issue?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Occasional drawing lags in Trunk ... VM issue?

marcel.taeumel
Hi, there!

As Bert noticed a few weeks ago, fast-drag is kind of slow on MacOS.

Today, I noticed under Windows that there is an occasional, GC-like lag when resizing windows with non-fast drag.

Here is the Trunk (Cog) with noticable lag:
http://i.giphy.com/26FPJdlJcZtI6fLO0.gif

Here is 4.6 (Cog) without lag:
http://i.giphy.com/l4Ki6nefX950k0qre.gif

The drawing code in Morphic has not changed. I suspect an issue in the VM.

Best,
Marcel
Reply | Threaded
Open this post in threaded view
|

Re: Occasional drawing lags in Trunk ... VM issue?

Bert Freudenberg
On 18.02.2016, at 09:02, marcel.taeumel <[hidden email]> wrote:

>
> Hi, there!
>
> As Bert noticed a few weeks ago, fast-drag is kind of slow on MacOS.
>
> Today, I noticed under Windows that there is an occasional, GC-like lag when
> resizing windows with non-fast drag.
>
> Here is the Trunk (Cog) with noticable lag:
> http://i.giphy.com/26FPJdlJcZtI6fLO0.gif
>
> Here is 4.6 (Cog) without lag:
> http://i.giphy.com/l4Ki6nefX950k0qre.gif
>
> The drawing code in Morphic has not changed. I suspect an issue in the VM.
The Mac VM switched to Cocoa so that might be slower. But Windows?!

- Bert -






smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Occasional drawing lags in Trunk ... VM issue?

Karl Ramberg
Wasn't there some changes to morphic/ WorldState process ? Could that cause this ?

Best,
Karl

On Thu, Feb 18, 2016 at 7:56 PM, Bert Freudenberg <[hidden email]> wrote:
On 18.02.2016, at 09:02, marcel.taeumel <[hidden email]> wrote:
>
> Hi, there!
>
> As Bert noticed a few weeks ago, fast-drag is kind of slow on MacOS.
>
> Today, I noticed under Windows that there is an occasional, GC-like lag when
> resizing windows with non-fast drag.
>
> Here is the Trunk (Cog) with noticable lag:
> http://i.giphy.com/26FPJdlJcZtI6fLO0.gif
>
> Here is 4.6 (Cog) without lag:
> http://i.giphy.com/l4Ki6nefX950k0qre.gif
>
> The drawing code in Morphic has not changed. I suspect an issue in the VM.

The Mac VM switched to Cocoa so that might be slower. But Windows?!

- Bert -









Reply | Threaded
Open this post in threaded view
|

Re: Occasional drawing lags in Trunk ... VM issue?

timrowledge
In reply to this post by Bert Freudenberg

> On 18-02-2016, at 10:56 AM, Bert Freudenberg <[hidden email]> wrote:
>
> On 18.02.2016, at 09:02, marcel.taeumel <[hidden email]> wrote:
>>
>> Hi, there!
>>
>> As Bert noticed a few weeks ago, fast-drag is kind of slow on MacOS.
>>
>> Today, I noticed under Windows that there is an occasional, GC-like lag when
>> resizing windows with non-fast drag.
>>
>> Here is the Trunk (Cog) with noticable lag:
>> http://i.giphy.com/26FPJdlJcZtI6fLO0.gif
>>
>> Here is 4.6 (Cog) without lag:
>> http://i.giphy.com/l4Ki6nefX950k0qre.gif
>>
>> The drawing code in Morphic has not changed. I suspect an issue in the VM.
>
> The Mac VM switched to Cocoa so that might be slower. But Windows?!

No incremental GC in Spur yet.


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
How was Thomas J. Watson buried?  9 edge down.



Reply | Threaded
Open this post in threaded view
|

Re: Occasional drawing lags in Trunk ... VM issue?

Bert Freudenberg

> On 18.02.2016, at 11:06, tim Rowledge <[hidden email]> wrote:
>
>
>> On 18-02-2016, at 10:56 AM, Bert Freudenberg <[hidden email]> wrote:
>>
>> On 18.02.2016, at 09:02, marcel.taeumel <[hidden email]> wrote:
>>>
>>> Hi, there!
>>>
>>> As Bert noticed a few weeks ago, fast-drag is kind of slow on MacOS.
>>>
>
> No incremental GC in Spur yet.
I very much doubt GC is an issue when fast-dragging (which btw feels faster in *SqueakJS* than on Mac Spur).

- Bert -




smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Occasional drawing lags in Trunk ... VM issue?

Eliot Miranda-2
In reply to this post by marcel.taeumel
Hi Marcel,

On Thu, Feb 18, 2016 at 9:02 AM, marcel.taeumel <[hidden email]> wrote:
Hi, there!

As Bert noticed a few weeks ago, fast-drag is kind of slow on MacOS.

Today, I noticed under Windows that there is an occasional, GC-like lag when
resizing windows with non-fast drag.

Here is the Trunk (Cog) with noticable lag:
http://i.giphy.com/26FPJdlJcZtI6fLO0.gif

Here is 4.6 (Cog) without lag:
http://i.giphy.com/l4Ki6nefX950k0qre.gif

The drawing code in Morphic has not changed. I suspect an issue in the VM.

You can get information on GC pause times by using the About Squeak inspector and looking at the information there-in.  [The below isn't representative, its just what's answered soon after start-up].  Note that while the timers answered to the image are in milliseconds, the VM uses microsecond time stamps internally.

Virtual Machine Parameters
--------------------------
...
#7 0 full GCs since startup
#8 0 total milliseconds in full GCs since startup
#9 33 scavenging GCs since startup
#10 10 total milliseconds in scavenging GCs since startup
...
#38 0 milliseconds taken by current scavenge
...
#62 1 compiled code compactions since startup
#63 1 total milliseconds in compiled code compactions since startup
...


Clearly #38 isn't that useful.  A "milliseconds taken by last full GC" would be more useful.  I'l put it on the list.

 

Best,
Marcel



--
View this message in context: http://forum.world.st/Occasional-drawing-lags-in-Trunk-VM-issue-tp4878599.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.




--
_,,,^..^,,,_
best, Eliot