[chimerax-users] Bottleneck Large Surfaces
Anderson, Jacob
jacob_r_anderson at hms.harvard.edu
Mon Jan 4 07:21:22 PST 2021
Thank you so much for your repy over the weekend. That worked great.
~jacob
________________________________
From: Elaine Meng <meng at cgl.ucsf.edu>
Sent: Sunday, January 3, 2021 12:53 PM
To: Anderson, Jacob <jacob_r_anderson at hms.harvard.edu>
Cc: chimerax-users at cgl.ucsf.edu <chimerax-users at cgl.ucsf.edu>
Subject: Re: [chimerax-users] Bottleneck Large Surfaces
Hi Jacob,
In the ChimeraX Settings dialog (aka preferences), the Clipping section, you can set "cap clipped surfaces" to false and save it.
<https://rbvi.ucsf.edu/chimerax/docs/user/preferences.html>
<https://rbvi.ucsf.edu/chimerax/docs/user/preferences.html#clipping>
The ChimeraX Settings dialog is listed in a standard platform-dependent location in the menu (for example, Favorites... Settings on Windows and Linux, UCSF ChimeraX... Preferences on a Mac).
I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco
> On Jan 2, 2021, at 5:18 PM, Anderson, Jacob <jacob_r_anderson at hms.harvard.edu> wrote:
>
> To follow-up on this older thread, is there a way to make the surface caps off by default? I am finding a 10-20s slow down when changing the contour level of a large surface. I believe this is related to the surface cap feature as the following is displayed during the hang-up.
>
> <image.png>
>
> This is after I have run the command
>
> <image.png>
> From: Anderson, Jacob <jacob_r_anderson at hms.harvard.edu>
> Sent: Tuesday, November 24, 2020 11:08 PM
> To: Tom Goddard <goddard at sonic.net>
> Cc: chimerax-users at cgl.ucsf.edu <chimerax-users at cgl.ucsf.edu>
> Subject: Re: [chimerax-users] Bottleneck Large Surfaces
>
> Thank you for the intuition - it makes the limit make more sense.
>
> Thanks again,
>
> ~jacob
> From: Tom Goddard <goddard at sonic.net>
> Sent: Tuesday, November 24, 2020 10:35 PM
> To: Anderson, Jacob <jacob_r_anderson at hms.harvard.edu>
> Cc: chimerax-users at cgl.ucsf.edu <chimerax-users at cgl.ucsf.edu>
> Subject: Re: [chimerax-users] Bottleneck Large Surfaces
>
> Hi Jacob,
>
> ChimeraX only uses multiple threads for a few calculations, such as computing solvent excluded molecular surfaces or Coulombic electrostatic potential. Calculations like computing the clip cap surface which is spending most of its time trying to triangulate the polygonal path where the surface intersects the plane would be tricky to divide into multiple threads. Actually it could also be spending a fraction of a second computing the intersections of say a 50 million triangles with the plane -- it does not have any fancy oct-tree decomposition to accelerate that computation so it has to check every single triangle on every move.
>
> Tom
>
>> On Nov 24, 2020, at 7:25 PM, Anderson, Jacob <jacob_r_anderson at hms.harvard.edu> wrote:
>>
>> Dear Tom,
>>
>> I did not realize the clipping cap was running on one CPU at max. Turning that off eliminated any delay. Thanks for your quick reply. I will also switch to simple light, taking your advice.
>>
>> ~jacob
>> From: Tom Goddard <goddard at sonic.net>
>> Sent: Tuesday, November 24, 2020 10:19 PM
>> To: Anderson, Jacob <jacob_r_anderson at hms.harvard.edu>
>> Cc: chimerax-users at cgl.ucsf.edu <chimerax-users at cgl.ucsf.edu>
>> Subject: Re: [chimerax-users] Bottleneck Large Surfaces
>>
>> Hi Jacob,
>>
>> I would not expect any delay rotating the surface. Maybe you are clipping with a near clip plane and it is constantly recomputing the clipping plane cap on every motion. In that case you could turn off clip plane caps ("surface cap false"). Even if you do that if you are using Full or Soft lighting with near clipping then the ambient shadowing of those lighting mode will update on every motion since the clipped away part constantly changes. That casts shadows from 64 directions basically equivalent to rendering 64 frames and will slow down even the fastest graphics card. To remedy that switch to simple lighting (Toolbar button, or command "light simple") which does not cast shadows. If you are not using clipping then I bet something else is updating on the CPU and you will have to provide more details of what exact ChimeraX features you are using (what kind of coloring, what other models are shown, what tools are you using, ...).
>>
>> Tom
>>
>>
>>> On Nov 24, 2020, at 7:05 PM, Anderson, Jacob <jacob_r_anderson at hms.harvard.edu> wrote:
>>>
>>> With large colored surfaces of maps ~2.4GB, I experience a lag/delay of several seconds during rotation and translation. Is it obvious where the bottleneck might be that causes the lag? I am running ChimeraX on a 3090 gpu w/ 128gb ram, & 12 core CPU. Might there be ways to change other graphics settings to make the manipulations have a less observable delay?
>>>
>>> ~jacob
>>> _______________________________________________
>>> ChimeraX-users mailing list
>>> ChimeraX-users at cgl.ucsf.edu
>>> Manage subscription:
>>> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
>>
>> _______________________________________________
>> ChimeraX-users mailing list
>> ChimeraX-users at cgl.ucsf.edu
>> Manage subscription:
>> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
>
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210104/8ad62074/attachment.html>
More information about the ChimeraX-users
mailing list