Ridiculous performance over wireless

Questions, answers, tips and ideas on Servoy Client

Ridiculous performance over wireless

Postby maria.kyselova » Thu Aug 08, 2013 7:50 am

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.
Cheers,
Maria
maria.kyselova
 
Posts: 172
Joined: Thu Aug 09, 2012 12:56 am

Re: Ridiculous performance over wireless

Postby ngervasi » Mon Aug 12, 2013 7:11 pm

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?
ngervasi
 
Posts: 1475
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Ridiculous performance over wireless

Postby david » Mon Aug 12, 2013 7:34 pm

Or did you try Borderlands via VPN? :)
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: Ridiculous performance over wireless

Postby goldcougar » Tue Aug 13, 2013 8:20 pm

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.
Scott Butler
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Training Videos
Servoy Components- Plugins, Beans, and Web Components
Servoy Guy- Tips & Resources
ServoyForge- Open Source Components
User avatar
goldcougar
Servoy Expert
 
Posts: 686
Joined: Sun Jan 08, 2006 7:15 am
Location: Cincinnati, OH

Re: Ridiculous performance over wireless

Postby ngervasi » Tue Aug 13, 2013 11:28 pm

Scott, from the original post I assume that the wireless connection is from outside the LAN, probably from public services.
ngervasi
 
Posts: 1475
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Ridiculous performance over wireless

Postby swingman » Thu Aug 15, 2013 1:22 am

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 Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1280
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Ridiculous performance over wireless

Postby maria.kyselova » Mon Sep 02, 2013 4:57 am

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 4446 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 4446 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.
Last edited by maria.kyselova on Mon Sep 02, 2013 4:59 am, edited 1 time in total.
Cheers,
Maria
maria.kyselova
 
Posts: 172
Joined: Thu Aug 09, 2012 12:56 am

Re: Ridiculous performance over wireless

Postby maria.kyselova » Mon Sep 02, 2013 4:57 am

david wrote:Or did you try Borderlands via VPN? :)


Haha, no time for Borderlands, David, until I resolve this now :)
Cheers,
Maria
maria.kyselova
 
Posts: 172
Joined: Thu Aug 09, 2012 12:56 am

Re: Ridiculous performance over wireless

Postby maria.kyselova » Mon Sep 02, 2013 5:00 am

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.
Cheers,
Maria
maria.kyselova
 
Posts: 172
Joined: Thu Aug 09, 2012 12:56 am

Re: Ridiculous performance over wireless

Postby maria.kyselova » Mon Sep 02, 2013 5:02 am

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.
Cheers,
Maria
maria.kyselova
 
Posts: 172
Joined: Thu Aug 09, 2012 12:56 am

Re: Ridiculous performance over wireless

Postby swingman » Mon Sep 02, 2013 6:48 am

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...
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1280
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Ridiculous performance over wireless

Postby jcompagner » Mon Sep 02, 2013 9:53 am

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)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8250
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Ridiculous performance of smart client

Postby maria.kyselova » Tue Sep 03, 2013 8:44 am

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.
Cheers,
Maria
maria.kyselova
 
Posts: 172
Joined: Thu Aug 09, 2012 12:56 am

Re: Ridiculous performance over wireless

Postby maria.kyselova » Tue Sep 03, 2013 8:55 am

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 4383 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.
Cheers,
Maria
maria.kyselova
 
Posts: 172
Joined: Thu Aug 09, 2012 12:56 am

Re: Ridiculous performance over wireless

Postby maria.kyselova » Tue Sep 03, 2013 8:56 am

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.
Cheers,
Maria
maria.kyselova
 
Posts: 172
Joined: Thu Aug 09, 2012 12:56 am

Next

Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 1 guest