Page 1 of 2

Ridiculous performance over wireless

PostPosted: Thu Aug 08, 2013 7:50 am
by maria.kyselova
Hi All,

I'm testing our smart client solution connecting to our domain via vpn (that's where Servoy server runs) but on wireless.
It's ok over LAN, however on wireless the solution is miserably slow.
Normally it takes a few seconds to login, on wireless it's minutes and minutes. Every operation is just too slow, and it looks like caching is not exactly working: after I ran my solution the first time, it shouldn't load same long again, right? But it does.

Well, so far usability is a huge problem.
Someone, please, point me in the right direction.

I am using Windows 7 on both client and server, Servoy 7.2 (7.1 had the same problem)
Tried Java 6 and 7 on the client, no difference. At the moment the Server is running Java 6.
Tried different wireless sites, high speed connection everywhere, you can play Borderlands over it just fine.
Please help.

Re: Ridiculous performance over wireless

PostPosted: Mon Aug 12, 2013 7:11 pm
by ngervasi
Hmmm, there could be many reasons: firewalls, antivirus, vpn settings, latency... can you give me more details? Did you try to access the server WITHOUT going through the VPN?

Re: Ridiculous performance over wireless

PostPosted: Mon Aug 12, 2013 7:34 pm
by david
Or did you try Borderlands via VPN? :)

Re: Ridiculous performance over wireless

PostPosted: Tue Aug 13, 2013 8:20 pm
by sbutler
Assuming everything on LAN and Wireless is the same (ie your on the VPN for both situations)

It could be one of the routers or switch specifically causing you problems. If the wireless device also has LAN ports, plug your computer into it, see if there is a difference. If not, then plugin your computer into the switch/router that the wireless device is plugged into. See if there is a difference. Keep working your way until you reach the primary router that the internet is coming into.
What can happen is that your path out to the internet can be different from LAN vs WIreless depending on what switches your traversing through. One of them may be misconfigured, or going bad, or needs a firmware upgrade.

Re: Ridiculous performance over wireless

PostPosted: Tue Aug 13, 2013 11:28 pm
by ngervasi
Scott, from the original post I assume that the wireless connection is from outside the LAN, probably from public services.

Re: Ridiculous performance over wireless

PostPosted: Thu Aug 15, 2013 1:22 am
by swingman
It should be possible to get usable performance, so there is likely to be a problem somewhere.
I regularly connect to Smart Client (Server 6.1.x on Mac OS X, on DSL line) over both WIFI and 3G and both are usable.

Re: Ridiculous performance over wireless

PostPosted: Mon Sep 02, 2013 4:57 am
by maria.kyselova
Hi guys, sorry I was away for a few weeks.
Now coming back to the same issue.

ngervasi wrote:Hmmm, there could be many reasons: firewalls, antivirus, vpn settings, latency... can you give me more details? Did you try to access the server WITHOUT going through the VPN?


Nicola, in fact, the performance is poor even when we are trying to access the smart client in our local network, no wireless, all cable. To be honest, it's not good enough even running on the same machine as the server at times.

It takes about 30 seconds from the moment I hit the link for the smart client to start and till I can see the login screen.
Half the time I spend looking at the splashscreen, the other half - at an ugly grey frame below.

Untitled.jpg
Untitled.jpg (21.96 KiB) Viewed 8770 times


My screen looks like this, fairly simple, but this only comes up in the last second of the waiting:

Untitled1.png
Untitled1.png (7.07 KiB) Viewed 8770 times


The console only starts outputting in onLoad() of the login screen in the last 2-3 seconds of that waiting, so I reckon it's not my code running all this time.
That's after it's downloaded and verified the application for the first time.
There are no errors in the server log.

Re: Ridiculous performance over wireless

PostPosted: Mon Sep 02, 2013 4:57 am
by maria.kyselova
david wrote:Or did you try Borderlands via VPN? :)


Haha, no time for Borderlands, David, until I resolve this now :)

Re: Ridiculous performance over wireless

PostPosted: Mon Sep 02, 2013 5:00 am
by maria.kyselova
goldcougar wrote:Assuming everything on LAN and Wireless is the same (ie your on the VPN for both situations)

It could be one of the routers or switch specifically causing you problems. If the wireless device also has LAN ports, plug your computer into it, see if there is a difference. If not, then plugin your computer into the switch/router that the wireless device is plugged into. See if there is a difference. Keep working your way until you reach the primary router that the internet is coming into.
What can happen is that your path out to the internet can be different from LAN vs WIreless depending on what switches your traversing through. One of them may be misconfigured, or going bad, or needs a firmware upgrade.


Thanks, Scott.
We'll see again if wireless is still a problem after we fix performance locally and on cable.
Any tips on that would be highly appreciated as the startup is really annoyingly long.

Re: Ridiculous performance over wireless

PostPosted: Mon Sep 02, 2013 5:02 am
by maria.kyselova
swingman wrote:It should be possible to get usable performance, so there is likely to be a problem somewhere.
I regularly connect to Smart Client (Server 6.1.x on Mac OS X, on DSL line) over both WIFI and 3G and both are usable.


Christian, I very much hope it will be for us too.
Are there any links with Servoy solutions running elsewhere where I can access them and see what kind of performance they have?

An interesting thing: I put the sample CRM solution that Servoy provides, on our server and ran it - it is as slow as our app!
Well, almost.

Re: Ridiculous performance over wireless

PostPosted: Mon Sep 02, 2013 6:48 am
by swingman
Other things to watch out for: I took over a Servoy app that had been built with a really old Servoy framework -- it took ages to start up. I found that because of the way it was structured it queried all the tables on startup and there were no indexes in the database! Look in the performance data for clues, look in the logs...

Re: Ridiculous performance over wireless

PostPosted: Mon Sep 02, 2013 9:53 am
by jcompagner
maria.kyselova wrote:An interesting thing: I put the sample CRM solution that Servoy provides, on our server and ran it - it is as slow as our app!
Well, almost.


then there is a problem in your network setup.
What is the output if you start with the webstart console enabled? What output do you get there?
What is the tunnel/connection mdoe that you use? Try Http&Socket (network settings page)

Re: Ridiculous performance of smart client

PostPosted: Tue Sep 03, 2013 8:44 am
by maria.kyselova
jcompagner wrote:
maria.kyselova wrote:An interesting thing: I put the sample CRM solution that Servoy provides, on our server and ran it - it is as slow as our app!
Well, almost.


then there is a problem in your network setup.
What is the output if you start with the webstart console enabled? What output do you get there?
What is the tunnel/connection mdoe that you use? Try Http&Socket (network settings page)


What about my local, Johan? It's still fairly slow even on the same machine with the server.

I was using 2waysocket, switched to http&socket but it made no difference at all.

The console outputs this at startup:

Code: Select all
Java Web Start 10.25.2.17
Using JRE version 1.7.0_25-b17 Java HotSpot(TM) 64-Bit Server VM
User home directory = C:\Users\maria.PROWARE
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
m:   print memory usage
o:   trigger logging
p:   reload proxy configuration
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
CacheEntry[http://localhost:8082/servoy-client/tsm_head.jnlp]: updateAvailable=false,lastModified=Tue Sep 03 16:28:43 EST 2013,length=-1
CacheEntry[http://localhost:8082/servoy-client/tsm_head.jnlp]: updateAvailable=false,lastModified=Tue Sep 03 16:28:43 EST 2013,length=-1
Resource http://crl.globalsign.net/root.crl has future expires: Tue Sep 17 15:36:38 EST 2013 update check skipped.
Resource http://crl.globalsign.com/gs/gscodesigng2.crl has future expires: Tue Sep 03 17:02:41 EST 2013 update check skipped.
Missing Permissions manifest attribute for: http://localhost:8082/lib/j2db.jar
Missing Codebase manifest attribute for: http://localhost:8082/lib/j2db.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/browser_suite/DJNativeSwing-SWT.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/browser_suite/DJNativeSwing-SWT.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/browser_suite/DJNativeSwing.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/browser_suite/DJNativeSwing.jar
Missing Permissions manifest attribute for: http://localhost:8082/browser_suite/swt/windows/org.eclipse.swt.win32.win32.x86_64_3.8.1.v3834e.jar
Missing Codebase manifest attribute for: http://localhost:8082/browser_suite/swt/windows/org.eclipse.swt.win32.win32.x86_64_3.8.1.v3834e.jar
Missing Permissions manifest attribute for: http://localhost:8082/lib/js.jar
Missing Codebase manifest attribute for: http://localhost:8082/lib/js.jar
Missing Permissions manifest attribute for: http://localhost:8082/lib/commons-logging.jar
Missing Codebase manifest attribute for: http://localhost:8082/lib/commons-logging.jar
Missing Permissions manifest attribute for: http://localhost:8082/lib/rmitnl.jar
Missing Codebase manifest attribute for: http://localhost:8082/lib/rmitnl.jar
Missing Permissions manifest attribute for: http://localhost:8082/lib/networktnl.jar
Missing Codebase manifest attribute for: http://localhost:8082/lib/networktnl.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/drmaison-lib/log4j.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/drmaison-lib/log4j.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/agent.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/agent.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/amortization.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/amortization.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/browser_suite.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/browser_suite.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/browser_suite/MozillaInterfaces.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/browser_suite/MozillaInterfaces.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/converters.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/converters.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/dateUtils.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/dateUtils.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/default_validators.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/default_validators.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/dialog.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/dialog.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/dialogPro.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/dialogPro.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/drmaison.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/drmaison.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/excelxport.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/excelxport.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/excelxport.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/excelxport.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/exchange.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/exchange.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/file.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/file.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/fileWatcher.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/fileWatcher.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/google.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/google.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/headlessclient.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/headlessclient.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/http.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/http.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/http.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/http.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/images.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/images.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/images.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/images.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/it2be-calendar.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/it2be-calendar.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/it2be-core/core-common.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/it2be-core/core-common.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/it2be-cryptor.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/it2be-cryptor.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/it2be-data.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/it2be-data.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/it2be-ftp.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/it2be-ftp.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/it2be-gantt.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/it2be-gantt.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/it2be-progress.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/it2be-progress.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/it2be-tools.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/it2be-tools.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/jtapi.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/jtapi.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/keyListeners.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/keyListeners.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/log.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/log.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/mail.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/mail.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/mailpro.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/mailpro.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/maintenance.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/maintenance.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/pdf_output.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/pdf_output.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/pdf_output.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/pdf_output.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/pdi.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/pdi.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/phone.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/phone.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/rawSQL.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/rawSQL.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/scheduler.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/scheduler.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/scheduler.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/scheduler.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/screenshot.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/screenshot.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/serialize.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/serialize.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/serialize.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/serialize.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/spellcheck.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/spellcheck.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/tabxport.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/tabxport.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/trayicon.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/trayicon.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/tsmseven.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/tsmseven.jar
Missing Permissions manifest attribute for: http://localhost:8082/lib/jabsorb.jar
Missing Codebase manifest attribute for: http://localhost:8082/lib/jabsorb.jar
Missing Permissions manifest attribute for: http://localhost:8082/lib/slf4j-api.jar
Missing Codebase manifest attribute for: http://localhost:8082/lib/slf4j-api.jar
Missing Permissions manifest attribute for: http://localhost:8082/lib/slf4j-jdk14.jar
Missing Codebase manifest attribute for: http://localhost:8082/lib/slf4j-jdk14.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/udp.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/udp.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/usermanager.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/usermanager.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/velocityreport.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/velocityreport.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/window.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/window.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/xml.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/xml.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/xmlreader.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/xmlreader.jar
Missing Permissions manifest attribute for: http://localhost:8082/plugins/it2be-calendar/migcalendar.jar
Missing Codebase manifest attribute for: http://localhost:8082/plugins/it2be-calendar/migcalendar.jar
Missing Permissions manifest attribute for: http://localhost:8082/lib/fs-parser.jar
Missing Codebase manifest attribute for: http://localhost:8082/lib/fs-parser.jar
Missing Permissions manifest attribute for: http://localhost:8082/lib/fs-commons.jar
Missing Codebase manifest attribute for: http://localhost:8082/lib/fs-commons.jar


A sample 'hello-world' solution on a vanilla server takes only a little less time to load, just btw. It has just one form and no code whatsoever. Similar output in the console except the first four lines.

Tried running the server on Java 6 and 7, no difference in performance.

Another problem: whenever I run the .jnlp I get the window saying 'Verifying application'. Why does it do it every time? It seems to only happen on machines running Java 7.

Re: Ridiculous performance over wireless

PostPosted: Tue Sep 03, 2013 8:55 am
by maria.kyselova
swingman wrote:Other things to watch out for: I took over a Servoy app that had been built with a really old Servoy framework -- it took ages to start up. I found that because of the way it was structured it queried all the tables on startup and there were no indexes in the database! Look in the performance data for clues, look in the logs...


We sniffed the network, nothing seems happening, except certificates checking.

Here is the output of the server performance page:

Untitled.png
Untitled.png (41.25 KiB) Viewed 8707 times


I can see no problem at all but the whole things takes 40 bloody seconds to load locally.

Tried with and without using SSL, no difference.

Re: Ridiculous performance over wireless

PostPosted: Tue Sep 03, 2013 8:56 am
by maria.kyselova
The topic seems to be more about overall smart client performance issues, not only on wireless.
If any of the moderators would like to change the topic header, I don't mind at all. Thanks.