Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Anonymous_User Absent Member.
Absent Member.
2087 views

Designer is Too Slow!


A project with 17 drivers and designer is so slow it is approaching on
being unusable.


Are there any suggestions on how to improve performance?

Am I the only one that is impatient?

Thanks
-jim


--
jwilleke
------------------------------------------------------------------------
jwilleke's Profile: https://forums.netiq.com/member.php?userid=401
View this thread: https://forums.netiq.com/showthread.php?t=51211

Labels (1)
0 Likes
26 Replies
Highlighted
Anonymous_User Absent Member.
Absent Member.

Re: Designer is Too Slow!

Things to try that may help assuming you have multiple projects in the
workspace:

Disable any other projects in the workspace. Right-click 'Disable' from
the 'Project' tab (left-hand side by default) and see if, after doing that
as much as possible, things help.

Things I've heard definitely help: Create a new workspace with only the
current project(s) within. If you can limit yourself to just one project,
that seems to help. Size of projects also matters, of course.

No matter how many projects you may have in your workspace, disable SVN
anywhere possible. The version control functionality just seems to do a
lot of memory/processor chewing.

If you're doing anything over the network and seeing slowness there
(particularly on a non-local network, such as over VPN or anything else
with greater-than-microsecond latencies) then try to get your Designer
instance to be local. Remotely access a box near the vault systems
instead of using your local machine from afar.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Designer is Too Slow!

Perhaps this is why recreating the workspace helps:

http://stackoverflow.com/questions/4386119/eclipse-getting-too-slow-workspace-recreation-helped

Summary: Clean out
/path/to/workspace/.metadata/.plugins/org.eclipse.core.resources/.history

On my laptop with something like 10.8 GiB of stuff in the workspace
directory (lotsa projects), about 8.9 of it was in that silly .history
directory (and subdirectories) and it took forever to calculate that size
(many small files, it seems). Just restarted Designer and saw a very,
very significant decrease in time to load after selecting which workspace
to use. I may need to modify my Designer startup script to do this
automatically after closing Designer or something.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer is Too Slow!

On 9/1/2014 4:13 PM, ab wrote:
> Perhaps this is why recreating the workspace helps:
>
> http://stackoverflow.com/questions/4386119/eclipse-getting-too-slow-workspace-recreation-helped
>
> Summary: Clean out
> /path/to/workspace/.metadata/.plugins/org.eclipse.core.resources/.history
>
> On my laptop with something like 10.8 GiB of stuff in the workspace
> directory (lotsa projects), about 8.9 of it was in that silly .history
> directory (and subdirectories) and it took forever to calculate that size
> (many small files, it seems). Just restarted Designer and saw a very,
> very significant decrease in time to load after selecting which workspace
> to use. I may need to modify my Designer startup script to do this
> automatically after closing Designer or something.


Did you set the History settings to 1-1-1?

(Window, Preferences, General, Workspace, Local History).

That helps keep the size much smaller.

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Designer is Too Slow!

No, but the default is apparently seven days, and since apparently I had
8.9 GiB accumulated in seven days (from a 1.9 GiB workspace, most of which
I have not opened anytime recently) I'm guessing there is something very
wrong with that setting. I checked before purging and had files from 2012
(slightly more than seven days ago).

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer is Too Slow!

On 9/1/2014 9:43 PM, ab wrote:
> No, but the default is apparently seven days, and since apparently I had
> 8.9 GiB accumulated in seven days (from a 1.9 GiB workspace, most of which
> I have not opened anytime recently) I'm guessing there is something very
> wrong with that setting. I checked before purging and had files from 2012
> (slightly more than seven days ago).


I agree, I had about a gig before I learned of this setting from Mike
Weaver. (Darn you consensus! Darn you guys to sock heck!)

I have been running with 1-1-1 for years now, so far so good.


0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer is Too Slow!

Geoffrey Carman wrote:

> I have been running with 1-1-1 for years now, so far so good.


Me, too. Currently 137 kB in .history with a 1.8 GB workspace
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer is Too Slow!

On 9/2/2014 12:33 PM, Lothar Haeger wrote:
> Geoffrey Carman wrote:
>
>> I have been running with 1-1-1 for years now, so far so good.

>
> Me, too. Currently 137 kB in .history with a 1.8 GB workspace


Since I have already determined that Aaron trusts me as far as he can
throw me, and I am about twice his size (mass wise), my values are
1.78GB workspace and 3.83 MB of history.

So there Aaron, you can trust Lothar. He is skinny, and you can
probably throw him pretty far.

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Designer is Too Slow!


I find that Eclipse doesn't always honor the settings for workspace
history. I ended up writing a batch file to cleanse my workspace
histories. I offer it here in case it is of use to others. I make no
claims as to quality or reliability. Use at your own risk, apply
Disclaim-All(tm) to affected areas, etc.

I keep all my Designer workspaces under a single folder, for example
c:\workspaces. This batch file is called clean-all-history.bat and must
be ran in that parent directory. It assumes that every child directory
is a Designer workspace. It does no error checking and might just ruin
your day if you run it in an unexpected location.
--begin--
> dir /AD /B *.* > workspaces.txt
> for /F %%w in (workspaces.txt) do del /F/S/Q
> %%w\.metadata\.plugins\org.eclipse.core.resources\.history\*.*

--end--

It does a DIR to get all the child folders, writes them to a file, then
walks that file, purging the history of each path in the file.


--
miweaver555
------------------------------------------------------------------------
miweaver555's Profile: https://forums.netiq.com/member.php?userid=8259
View this thread: https://forums.netiq.com/showthread.php?t=51211

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Designer is Too Slow!

On Mon, 30 Jun 2014 14:44:01 +0000, jwilleke wrote:

> A project with 17 drivers and designer is so slow it is approaching on
> being unusable.


My projects here are 60+ drivers and while I'd like to see Designer be
faster and more responsive, I can't say that it's so slow as to be
unusable.


> Are there any suggestions on how to improve performance?


Designer version? Host OS? Those seem like the most likely candidates. If
you're running it on a Windows host, excluding the Designer binaries from
the a/v scanner may help.

In Designer.ini, I'm setting a few non-stock options:

-Xms256m
-Xmx2048m
-XX:MaxPermSize=128m
-Dfile.encoding=UTF-8
-XX:+UseParallelGC
-XX:+UseParallelOldGC


If you're using Svn, do you have the Svn window open, or closed? How's
the memory use look?

If you're using Packages, how's your package catalog?


> Am I the only one that is impatient?


I doubt it.


--
--------------------------------------------------------------------------
David Gersic dgersic_@_niu.edu
Knowledge Partner http://forums.netiq.com

Please post questions in the forums. No support provided via email.
If you find this post helpful, please click on the star below.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer is Too Slow!

David Gersic wrote:

> excluding the Designer binaries from
> the a/v scanner may help.


Now that you mention it: once made a huge difference in my earlier life to
exclude the workspace folder, too, if AV is dumb enough to scan even text files
(corporate security admins tend to like this kind of brute force approach.
Safety first!)
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer is Too Slow!

jwilleke wrote:

> Are there any suggestions on how to improve performance?


I fully second Aaron's and David's recommendations. I also change some Designer
settings from their default after every install:

- disable "Build workspace automatically"
- Set local history to 1/1/1 instead of 7/50/1
- disable automatic SVN checking
- disable all automatic update and survey checking
- disable unused pages in Modeler (I only keep Developer and disable Architect,
Dataflow, Table)
- close all unused views (e.g. Provisioning and Project Checker when working on
driver packages, Version Control unless I need to do more than update/commit,
which works from Outline and Project)
- remove unused packages from the catalog regularly

Alos an SSD really helps a LOT compared to a HDD, if you don't have one, order
one today. Totally worth the money!

I also tweak designer.ini like David, just I do not get -Xmx2048m to work (on
Windows) but rather top out at about -Xmx1280m (varies from machine to machine,
no idea why. Just try until you get a startup error).

All of the above works fine for me with 30+ projects in the workspace (all but
the currently used 2-5 ones disabled) with 10-50 drivers each. We do all
development in packages and all projects are under version control.
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer is Too Slow!

Lothar Haeger wrote:

> I also tweak designer.ini like David, just I do not get -Xmx2048m to work (on
> Windows) but rather top out at about -Xmx1280m (varies from machine to
> machine, no idea why. Just try until you get a startup error).


Forgot to mention: monitor the mem usage in the status bar. Once max is near
the above setting and used approaches 80% of max, I restart Designer because
that's where things start to get *really* slow in my experience.
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer is Too Slow!

On 6/30/2014 12:43 PM, Lothar Haeger wrote:
> Lothar Haeger wrote:
>
>> I also tweak designer.ini like David, just I do not get -Xmx2048m to work (on
>> Windows) but rather top out at about -Xmx1280m (varies from machine to
>> machine, no idea why. Just try until you get a startup error).

>
> Forgot to mention: monitor the mem usage in the status bar. Once max is near
> the above setting and used approaches 80% of max, I restart Designer because
> that's where things start to get *really* slow in my experience.


I have noticed that as well. I GC a lot (Hit the trash can icon) and as
you get to the higher end, things slow down. GCing by hand buys you time.

I happen to stay there a lot, since I am trying to force leaks, so once
I know I am going to restart, I open a ton of things, close them, till I
break it, then report a memory dump to Development.

Right now they are ignoring me, saying they will look after 4.5 is out.
Argh. Why not fix it for 4.5? It is always .NEXT...




0 Likes
Knowledge Partner
Knowledge Partner

Re: Designer is Too Slow!

> I fully second Aaron's and David's recommendations. I also change some Designer
> settings from their default after every install:
>
> - disable "Build workspace automatically"
> - Set local history to 1/1/1 instead of 7/50/1
> - disable automatic SVN checking
> - disable all automatic update and survey checking
> - disable unused pages in Modeler (I only keep Developer and disable Architect,
> Dataflow, Table)
> - close all unused views (e.g. Provisioning and Project Checker when working on
> driver packages, Version Control unless I need to do more than update/commit,
> which works from Outline and Project)
> - remove unused packages from the catalog regularly


Most of those with pictures, since this Jim we are talking about...
Lets keep it simple. 🙂


https://www.netiq.com/communities/cool-solutions/things-set-when-you-install-designer/

I agree, it gets slow, and I have been nagging people at NetIQ to try
and get some attention paid to this, with little success.




0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.