Current time: 12-16-2017, 01:45 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Google Cloud Compute Images for WPT Agent
08-31-2016, 06:56 PM
Post: #1
Google Cloud Compute Images for WPT Agent
Hi there

We already use WPT Agent AMIs and they work beautifully. But has anyone done any work to create Google Cloud Compute Images for WPT agent available? (If not I can possibly share our Image once I manage to get it working). The site we wish to monitor is hosted in AWS so we thought it would be a good idea to monitor it from outside of AWS as well.

I know its fairly easy to create Private Machine Images in Google Compute but I can't seem to get the traffic shaping to work. I have seen some threads in this forum where others have run into the same issue. This thread says ipfw does not work on 64bit Windows but I can see WPT Agent AMI ami-a3a81dd0 seems to be built with 64bit windows as well (where obviously traffic shaping works fine).

I have tried almost everything to make sure Google Image is exactly the same as the said AMI but haven't had any luck yet. May be I am overlooking something and I'll be able to solve this eventually but was checking to see if someone has already solved this issue and tell me if

1) there is a Google Cloud Compute Image for WPT Agent
2) or has some pointers on how to solve this
Find all posts by this user
Quote this message in a reply
08-31-2016, 10:10 PM
Post: #2
RE: Google Cloud Compute Images for WPT Agent
GCE doesn't allow for image sharing yet (that I'm aware of). Once it does I hope to make public images available.

Traffic-shaping should work fine on 64-bit Windows. Some things that I can think of that might cause it to not shape:
- Make sure you copied all of the files from the dummynet/64bit directory to the dummynet directory
- Did you put the machine into testmode (run testmode.cmd as admin) and rebot before installing the driver?
- Did you install the dummynet driver?
- Make sure to grab the latest wptdriver update as there were some fixes for intermittent traffic-shaping issues: https://sites.google.com/a/webpagetest.o...est-Agents

One thing to watch out for on the setup is that the GCE servers do not have graphics attached so the only way to run an actual desktop is through RDP. This gets a bit convoluted to set up but it means you need to have the VM start an RDP session to 127.0.0.2 (localhost but not on the black-list for RDP) and then run the test agent inside of the RDP session.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-31-2016, 10:12 PM
Post: #3
RE: Google Cloud Compute Images for WPT Agent
btw, if you just need outside-of-EC2 testing, it might be easier to bring an instance up on Azure for right now since they do have Graphics attached and it is basically just following the server install directions.

I had done some work on public Azure images and just need to carve out some time to re-visit it.
Visit this user's website Find all posts by this user
Quote this message in a reply
09-01-2016, 10:13 PM
Post: #4
RE: Google Cloud Compute Images for WPT Agent
Hi Patrick - many thanks for your super swift response.

I have managed to get wpt agent working (without traffic shaping) using GCE graphics hack suggested - so no problems there.

To answer your first query re dummynet installation - yes I did follow all the steps mentioned carefully and in exact same order suggested (link to video). But once dummynet is installed

1) Windows RDP session becomes very sluggish and
2) all tests start to timeout as dummynet installation seems to reduce the upload speed down to 0.05MBPS regardless what traffic shaping values you insert. I have attached a brief youtube video (~1 minute length) of me attempting to install dummynet (if you can kindly review).

Not sure if this is of any help but wptdriver.exe does pick up the tests and run them as expected but the tests timeout as there is not much but upload speed to work with.

I'll checkout Azure as well to see if it helps.

Thanks again.
Find all posts by this user
Quote this message in a reply
09-01-2016, 11:28 PM
Post: #5
RE: Google Cloud Compute Images for WPT Agent
Hmm, could be that the windows servers are using a paravirtual driver that doesn't play nice with dummynet Sad

We have the same issue with newer images on EC2 (except all networking breaks). I'm just starting work on a replacement driver for Dummynet that uses newer Windows API's and will work with windows 10 as well and it might just have to wait until I have that finished (hopefully not more than a few weeks).
Visit this user's website Find all posts by this user
Quote this message in a reply
09-01-2016, 11:57 PM
Post: #6
RE: Google Cloud Compute Images for WPT Agent
Sounds very interesting and will look forward to the update. Many thanks for your help with this.
Find all posts by this user
Quote this message in a reply
03-23-2017, 10:38 PM
Post: #7
RE: Google Cloud Compute Images for WPT Agent
FWIW, the agents work fine on GCE now with the Windows 2016 server images and the switch to winshaper for traffic-shaping (in the 3.0 release). Unfortunately you still need to build images yourself because there isn't support for publicly sharing images but I can confirm the agents work fine.

There is also the new Linux agent (wptagent) that is ~1/5 the cost to run in the cloud if you only need to test Chrome: https://github.com/WPO-Foundation/wptagent
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)