Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solver instance limit and instance cost #87

Merged
merged 7 commits into from
Jan 25, 2022
Merged

Conversation

parasj
Copy link
Contributor

@parasj parasj commented Jan 22, 2022

Solver now integrates a working instance limit and instance cost.

$ skylark solver solve-throughput aws:sa-east-1 gcp:australia-southeast1-a 9 --max-instances 2
       choose_solver:33  | Gurobi not installed, using CoinOR instead.
   get_transfer_cost:65  | No transfer cost found for aws:ap-southeast-1 -> aws:ap-southeast-3, using max of ap-southeast-1
   get_transfer_cost:65  | No transfer cost found for aws:ap-southeast-3 -> aws:ap-south-1, using max of ap-southeast-3
      print_solution:239 | Total cost: $0.3013 (egress: $0.2992, instance: $0.0021)
      print_solution:242 | Total throughput: [9.0] Gbps
      print_solution:243 | Total runtime: 0.89s
      print_solution:245 | Instance regions: [aws:sa-east-1=2.0, aws:us-east-1=0.031, gcp:southamerica-east1-a=2.0, gcp:southamerica-west1-a=1.537]
      print_solution:246 | Flow matrix:
      print_solution:253 | 	aws:sa-east-1 -> aws:us-east-1: 0.10 Gbps with 1.6 connections, 0.7GB (link capacity = 3.96 Gbps)
      print_solution:253 | 	aws:sa-east-1 -> gcp:southamerica-east1-a: 4.24 Gbps with 59.6 connections, 30.2GB (link capacity = 4.55 Gbps)
      print_solution:253 | 	aws:sa-east-1 -> gcp:southamerica-west1-a: 4.66 Gbps with 66.7 connections, 33.1GB (link capacity = 4.47 Gbps)
      print_solution:253 | 	aws:us-east-1 -> gcp:australia-southeast1-a: 0.10 Gbps with 2.0 connections, 0.7GB (link capacity = 3.25 Gbps)
      print_solution:253 | 	gcp:southamerica-east1-a -> gcp:australia-southeast1-a: 4.24 Gbps with 128.0 connections, 30.2GB (link capacity = 2.12 Gbps)
      print_solution:253 | 	gcp:southamerica-west1-a -> gcp:australia-southeast1-a: 4.66 Gbps with 98.4 connections, 33.1GB (link capacity = 3.03 Gbps)
    solve_throughput:75  | Could not render graph: [Errno 2] No such file or directory: 'xdg-open'

@parasj parasj force-pushed the dev/paras/bench_solver branch 3 times, most recently from 137d538 to c8f6160 Compare January 24, 2022 23:05
commit c8f6160
Author: Paras Jain <[email protected]>
Date:   Mon Jan 24 23:05:05 2022 +0000

    Squashed commit of the following:

    commit 137d538
    Author: Paras Jain <[email protected]>
    Date:   Mon Jan 24 23:03:37 2022 +0000

        clean notebook

    commit 481f5bc
    Author: Paras Jain <[email protected]>
    Date:   Mon Jan 24 20:34:27 2022 +0000

        more changes

    commit 84cfc28
    Author: Paras Jain <[email protected]>
    Date:   Sat Jan 22 20:10:18 2022 +0000

        TODOs for solver

    commit 8c7b2cf
    Author: Paras Jain <[email protected]>
    Date:   Sat Jan 22 04:38:31 2022 +0000

        update

    commit 473f088
    Author: Paras Jain <[email protected]>
    Date:   Sat Jan 22 04:28:31 2022 +0000

        Fixes

    commit 755dd74
    Author: Paras Jain <[email protected]>
    Date:   Fri Jan 21 22:30:34 2022 -0500

        Add missing eu-central-1 pair

    commit 7ec967f
    Author: Paras Jain <[email protected]>
    Date:   Fri Jan 21 22:21:47 2022 -0500

        Add AWS transfer costs

    commit c49bca1
    Author: Paras Jain <[email protected]>
    Date:   Fri Jan 21 15:49:43 2022 +0000

        reformat

    commit 301e13f
    Author: Paras Jain <[email protected]>
    Date:   Fri Jan 21 10:04:21 2022 -0500

        Scale costs by number of instances

    commit de86b77
    Author: Sarah Wooders <[email protected]>
    Date:   Mon Jan 24 14:46:44 2022 -0800

        `GCSInterface` integration with gateway + replicator  (#91)

        Integrate gateway/replicator with GCSInterface from #88, and complete implementing GCSInterface methods (e.g. returning futures for uploading/downloading objects).

    commit 0d6e63a
    Author: Paras Jain <[email protected]>
    Date:   Mon Jan 24 14:32:41 2022 -0800

        Revert GCS interface changes due to merge conflict
@parasj parasj changed the title [DRAFT] Benchmarking the solver Solver instance limit and instance cost Jan 25, 2022
@parasj parasj self-assigned this Jan 25, 2022
@parasj parasj merged commit 3a5fb4c into main Jan 25, 2022
@parasj parasj deleted the dev/paras/bench_solver branch January 25, 2022 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant