Skip to content

Added the mapper tool to map trace to vSwarm proxies#541

Merged
leokondrashov merged 3 commits intomainfrom
mapper-tool
Feb 17, 2025
Merged

Added the mapper tool to map trace to vSwarm proxies#541
leokondrashov merged 3 commits intomainfrom
mapper-tool

Conversation

@KarthikL1729
Copy link
Collaborator

Added documentation for the mapper tool.

Summary

A small summary of the requirements (in one/two sentences).

The mapper tool is used to map the Azure trace functions to the vSwarm proxy functions based on the profiles of vSwarm functions and their correlation with the Azure trace function durations and memory utilization.

Implementation Notes ⚒️

  • Briefly outline the overall technical solution. If necessary, identify talking points where the reviewer's attention should be drawn to.

This PR adds the mapper tool, which loads the function duration and memory trace with Pandas, finds the optimal mapping based on modelling the problem as a linear sum assignment, and then outputs a file which maps each HashFunction in the trace to a proxy function in vSwarm. The profile needs to be unzipped before using the mapper, and the profile is included in a tar.gz file in the mapper directory.

External Dependencies 🍀

  • N/A

Breaking API Changes ⚠️

  • N/A

Simply specify none (N/A) if not applicable.

Copy link
Contributor

@leokondrashov leokondrashov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This a very brief look into a single function of the mapper. Please fix all of possible problems before submitting the PR.

@leokondrashov leokondrashov marked this pull request as draft November 1, 2024 12:23
@KarthikL1729 KarthikL1729 force-pushed the mapper-tool branch 3 times, most recently from 8d950d5 to d7c5d6e Compare January 23, 2025 15:25
@KarthikL1729 KarthikL1729 marked this pull request as ready for review January 23, 2025 21:24
@JooyoungPark73 JooyoungPark73 self-requested a review January 24, 2025 08:13
JooyoungPark73
JooyoungPark73 previously approved these changes Jan 26, 2025
Copy link
Contributor

@leokondrashov leokondrashov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We were talking about the requirements for the merge several times already. But still there are no tests in sight. Please add them.

@KarthikL1729 KarthikL1729 marked this pull request as draft January 30, 2025 12:03
@KarthikL1729 KarthikL1729 force-pushed the mapper-tool branch 4 times, most recently from 91e7a52 to f532247 Compare January 30, 2025 18:02
@KarthikL1729 KarthikL1729 marked this pull request as ready for review January 30, 2025 18:04
@KarthikL1729 KarthikL1729 marked this pull request as draft February 5, 2025 12:54
@KarthikL1729 KarthikL1729 marked this pull request as ready for review February 5, 2025 12:54
@KarthikL1729 KarthikL1729 force-pushed the mapper-tool branch 2 times, most recently from b4b6035 to a5acc21 Compare February 6, 2025 11:26
leokondrashov
leokondrashov previously approved these changes Feb 10, 2025
Copy link
Contributor

@leokondrashov leokondrashov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me. @cvetkovic Please take a look

JooyoungPark73
JooyoungPark73 previously approved these changes Feb 10, 2025
@leokondrashov
Copy link
Contributor

Looks good to me. Please squash the commits and rebase on main branch properly. @cvetkovic approve it if you are good with that.

cvetkovic
cvetkovic previously approved these changes Feb 14, 2025
KarthikL1729 and others added 2 commits February 16, 2025 22:58
Added documentation for the mapper tool.

Signed-off-by: KarthikL1729 <karthiklaksh1729@gmail.com>
Signed-off-by: L Lakshmanan <s2760012@ed.ac.uk>
Signed-off-by: L Lakshmanan <s2760012@ed.ac.uk>

Addressed review comments.

Signed-off-by: L Lakshmanan <s2760012@ed.ac.uk>
@leokondrashov leokondrashov merged commit 675ca43 into main Feb 17, 2025
18 checks passed
@leokondrashov leokondrashov deleted the mapper-tool branch February 17, 2025 02:50
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.

4 participants