<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Diksha Moolchandani on Medium]]></title>
        <description><![CDATA[Stories by Diksha Moolchandani on Medium]]></description>
        <link>https://medium.com/@moolchandanidiksha?source=rss-c232dce8d1fa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ek69TpxOjc8bPUdBDK7ZiQ.jpeg</url>
            <title>Stories by Diksha Moolchandani on Medium</title>
            <link>https://medium.com/@moolchandanidiksha?source=rss-c232dce8d1fa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 11:55:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@moolchandanidiksha/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Game Theory-based Parameter Tuning for Path Planning of UAVs]]></title>
            <link>https://medium.com/@moolchandanidiksha/game-theory-based-parameter-tuning-for-path-planning-of-uavs-1971b562b0ad?source=rss-c232dce8d1fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/1971b562b0ad</guid>
            <category><![CDATA[parameter-tuning]]></category>
            <category><![CDATA[game-theory]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[drones]]></category>
            <category><![CDATA[path-planning]]></category>
            <dc:creator><![CDATA[Diksha Moolchandani]]></dc:creator>
            <pubDate>Tue, 14 Sep 2021 07:20:48 GMT</pubDate>
            <atom:updated>2021-09-19T16:29:35.884Z</atom:updated>
            <content:encoded><![CDATA[<p>In this blog, I will be discussing my recent research work on using a game theory-based framework for tuning the parameters involved in the path planning algorithms for drones. This <a href="https://www.cse.iitd.ac.in/~diksha/files/papers/drone.pdf">work</a> was presented at VLSI Design 2021.</p><p>Let’s start.</p><h3>1. Introduction</h3><p>Recently, there has been an upsurge in the global UAV market. Today drones are being used almost everywhere ranging from military, agriculture, security, rescue, package delivery, disaster relief, journalism, recreation, construction, and many more. As an estimate, the global UAV market that was valued at $2.67 billion in 2016 is expected to reach $10.28 billion by 2022.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v8PPV5ebVBQMkqg3E0XBFA.png" /><figcaption>Figure 1</figcaption></figure><p>Despite such progress, the software and computing aspects of drones have not been given adequate importance. Consider the path planning algorithms in UAVs (explained in detail in Background). There are multiple parameters at play that decide the path length and the hover time of a drone. It has been shown that with the wrong choice of these parameters, it is possible to compute routes that are 4X longer and it takes a larger time to traverse these routes. This leads to unwanted energy consumption, which is undesirable in battery-constrained devices such as UAVs. Aside from longer routes, a larger hover duration is also undesirable. During hovering, the drone is not doing any useful work, it is waiting for its compute unit to calculate the next node to traverse. Hence, such larger routes are not desirable.</p><p>Thus, it becomes very important to tune these parameters efficiently such that the hover duration is reduced and the path lengths are as short as possible. Traditional approaches to tune these parameters involve either manual tuning or solving optimization problems to get a suitable parameter configuration. In this work, we show that solving an optimization problem with a large search space is not a feasible option for the real-time operation of these cyber-physical systems. Instead by solving the optimization problem approximately, we can achieve a real-time operation. We use game theory as a tool to solve the optimization problem quickly.</p><h3>2. Background</h3><p>We provide a simplistic explanation of RRT* here. For a detailed explanation, please read the paper. Figure 2 shows the steps involved in the RRT* path planning algorithm in the form of animation. RRT* builds the path in the form of a tree. The black edges and grey nodes show the initial tree. The blue triangles show the obstacles in the search space. The maroon circles show the random samples in the search space.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*woiEmpsC10c8mYG1oGaPKA.gif" /><figcaption>Figure 2: RRT* Algorithm</figcaption></figure><p>The algorithm first samples the environment (<em>dimension</em>: x * y * z) and chooses a <em>random sample</em> in the direction where it wants the tree to grow. Subsequently, the nearest node (from the existing tree) to the random sample is chosen. This nearest node attempts to create a new node in the direction of the random sample. There is a maximum distance (<em>step-size also called resolution</em>) that restricts the distance at which the new node can be placed. Hence, as can be seen in the animation, the new node is placed at a step size distance from the nearest node of the tree in the direction of the random sample. Subsequently, the node and the edge that will connect it to the nearest node are checked for the <em>obstacle avoidance distance. </em>The idea is that the new node and its edge should not violate a minimum distance from the nearby obstacles. As can be seen in the animation, the first new node violates the obstacle avoidance distance, hence it is rejected and we move on to find another new node.</p><p>Thus, the number of samples, dimension of the search space, obstacle avoidance distance, and the step size form the set of tunable parameters that decide the flight statistics of a drone. Apart from these tunable parameters, <em>obstacle density</em> or the number of obstacles in the search space play a crucial role in the path planning process.</p><h3>3. Key Insights</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*utUPYJiCNGrGvrs4lfbc9w.png" /><figcaption>Figure 3: Key insight</figcaption></figure><p>Figure 3 shows the key insight of our work. As mentioned in the introduction, we solve the optimization problem by converting it into a game-theoretic framework. The basic idea is to consider the variables in the optimization problem as players of the game and split and map the optimization objective to the payoffs of different players.</p><p>Let us elaborate a bit. The first idea is very clear to map the variables to the players of the game. However, splitting the optimization problem to map to the payoffs is a complicated problem and requires certain mathematical tools to do so. Instead, a better idea is to perform sensitivity analyses of the flight data with respect to the tunable parameters to get the payoff equations. We follow this approach.</p><h3>4. Optimization Problem</h3><p>In order to formulate the optimization problem, we need to collect huge amounts of flight data for different values of the tunable parameters to be able to deduce a master equation for the optimization objective. We perform extensive simulations in the Gazebo simulator to collect this data. Figure 4 shows the steps involved in the formulation of the optimization problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AJcFMEaq4FL6teORxxas4w.png" /><figcaption>Figure 4: Formulation of the optimization problem</figcaption></figure><p>We basically simulate the drone path planning algorithm in the Gazebo simulator for different virtual worlds and different values of the tunable parameters. We collect the flight data: hover time, and path length, for each of these simulations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hxdcfYE0LpxZjWFZuWSk2g.png" /><figcaption>Figure 5: Feature Vector and Labels</figcaption></figure><p>Figure 5 shows the format of the data points collected from the Gazebo simulations. The left column shows the feature vectors and the right column shows the labels for each data point or the quantity that is to be predicted. We subsequently use ML-based models to fit these data points. This basically translates to a multi-output regression problem because we need to predict two quantities simultaneously. Figure 6 shows the root mean square error (RMSE) of different ML models for two different virtual worlds. RMSE is converted to a percentage with respect to the true value. We find that MLP with Sigmoid activation achieves the best accuracy and hence we use it to formulate the optimization problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/1*SdFMVH_Q5g1wHJ1WlkAklA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*MfFGe9mjTYeDieEOvH9spw.png" /><figcaption>Figure 6: Root mean square error for two different virtual worlds. MLP with Sigmoid performs the best.</figcaption></figure><blockquote><strong>Objective Function:</strong></blockquote><blockquote>minimize Total time = Hover time + Flight time</blockquote><blockquote>= hover time + λ*path length = HT + λ* PL</blockquote><blockquote><strong>Constraints:</strong></blockquote><blockquote>1. Analytical equations from MLP</blockquote><blockquote>2. Feasibility constraints on the parameters from the papers and real-world experiments.</blockquote><p>The final equations are shown in the <a href="https://www.cse.iitd.ac.in/~srsarangi/files/papers/drone.pdf">paper</a>.</p><h3>5. Game-theoretic Formulation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iylG-j5qyXWwEXe9QQL2lQ.png" /><figcaption>Figure 7: Formulation of the game</figcaption></figure><p>Figure 7 shows the steps involved in the game-theoretic formulation. We collect the equations from drone physics and the results from the sensitivity analyses to formulate the payoff equations of the players. Subsequently, the formulated game is solved for Nash Equilibrium using the Gambit solver.</p><p>All the tunable parameters become the players. The obstacle density becomes the input and comes with a negative sign in the formulation of the payoff equations because both the path length and the hover time increase with an increase in the obstacle density as shown in Figure 8. The strategies of the players are the feasible ranges of the respective tunable parameters. The flight data: hover time and path length, are the dependent data and play a role in the payoff formulation. The sign with which they appear in the payoff of each player is obtained from Figure 9.</p><h4>5.1 Designing the Payoffs</h4><p>Each player’s payoff consists of two objectives: altruistic and selfish objectives. The altruistic objective aims at minimizing the wasted energy as a result of the hover time or the sub-optimal path length. The selfish objective is proportional to the individual parameters. Maximizing the payoff is equal to minimizing the altruistic objective and maximizing the selfish objective. To formulate the altruistic objective, we need to know the relationship of the hover time and the path length with each of the tunable parameters so that the corresponding term can be added to the payoff of that parameter. This requires sensitivity analyses. Figure 8 shows some of the sensitivity analyses graphs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*id6QB5hUAhJikmCVGIkEMQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*MjOOYIOimKXxbJUREJBMKQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*5bgQxo6651B7jVuALtDuQA.png" /><figcaption>Figure 8: Sensitivity analyses of hover time and path length with respect to the obstacle density and the step size</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_CvhBa5eu6OYvzPzMi86Jw.png" /><figcaption>Figure 9: The derivations from the sensitivity analyses</figcaption></figure><p>Figure 9 shows the derivations from the sensitivity analyses. Once we get an idea if HT and PL are increasing or decreasing with the increase in the value of a parameter, we are able to decide the sign of the altruistic objective in the payoff equation. The exact relationship (linear or quadratic) is known to some extent from the obtained graphs. Each of the payoff equations then consists of the selfish objective, the altruistic objective, and the effect of obstacle density as described above. The final equations are shown in the <a href="https://www.cse.iitd.ac.in/~srsarangi/files/papers/drone.pdf">paper</a>.</p><h3>6. Results</h3><p>The related work on parameter tuning for path planning algorithms takes 30 minutes to 2 hours to converge to a solution. They explore nearly 100 parameter configurations. In comparison, our game-theoretic approach takes 0.01 seconds to explore 256 configurations and provide a Nash Equilibrium.</p><p>We experiment with the three virtual worlds (world1, world2, and world3 from left to right) as shown in Figure 10. The obstacle density of the virtual world3 is twice that of the virtual world2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/402/1*n-p2PTA9VwN-mAoPZLY0xg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*ivfG4hJqYWt68vsvLlcaUg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*Xj6gv6sVxL6n1TGkSMKntw.png" /><figcaption>Figure 10: Three different virtual worlds</figcaption></figure><p>Figure 11 shows the hover time and path lengths obtained using our optimization-based approach and the game theory-based approach.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tDNgLtLrZBxBwtEZ2O9P8A.png" /><figcaption>Figure 11: HT and PL using optimization-based and game theory-based approach</figcaption></figure><p>We observe that the game-theoretic solutions are 5–21% better than those found by solving the optimization problem. This is mainly because the search space in the optimization problem had to be reduced due to convergence issues. Moreover, our game-theoretic solver is<strong> 10–100X </strong>faster than the optimization solver. We also observe that because the obstacle density of world3 is twice that of world2, the HT and PL values for world3 are more than that for world2.</p><h3>7. Conclusion</h3><p>In this work, we propose to solve a parameter tuning problem quickly using a game-theoretic approach as opposed to the traditionally used optimization-based approach. We show that game theory is a powerful tool to solve complex non-linear optimization problems. We show a formal approach to convert a single-objective optimization problem to a game using standard techniques. Our approach paves the way for real-time operation in a wide variety of optimization problems that arise in cyber-physical systems.</p><p>Thank you for reading. That’s all folks! Hope you liked the article :)</p><p>For any questions, feel free to read the <a href="https://www.cse.iitd.ac.in/~srsarangi/files/papers/drone.pdf">full paper</a> or direct your questions to my email id: diksha [dot] moolchandani [at] cse [dot] iitd [dot] ac [dot] in.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1971b562b0ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VisSched: An Auction based Scheduler for Vision Workloads on Heterogeneous Processors]]></title>
            <link>https://medium.com/@moolchandanidiksha/vissched-94998c20de06?source=rss-c232dce8d1fa------2</link>
            <guid isPermaLink="false">https://medium.com/p/94998c20de06</guid>
            <category><![CDATA[hardware-scheduler]]></category>
            <category><![CDATA[auction-theory]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[computer-architecture]]></category>
            <category><![CDATA[heterogeneous-multicore]]></category>
            <dc:creator><![CDATA[Diksha Moolchandani]]></dc:creator>
            <pubDate>Sun, 27 Sep 2020 12:10:08 GMT</pubDate>
            <atom:updated>2020-10-04T09:38:41.925Z</atom:updated>
            <content:encoded><![CDATA[<p>In this blog, I will be discussing my recent research work on scheduling vision workloads on heterogeneous processors by exploiting the phase behavior in the execution of these workloads. Moreover, this scheduling scheme uses auction theory with modified payoffs and bids such that the algorithm is theoretically starvation-free. This <a href="http://www.cse.iitd.ac.in/~diksha/files/papers/vissched.pdf">work</a> has been presented as a poster at <a href="https://www.facebook.com/groups/543081893039790/permalink/558165678198078/">DAC 2020</a>, and as a full paper at ESWEEK CASES 2020. It is published in IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems (IEEE TCAD).</p><p>Let’s start.</p><h3>1. Introduction</h3><p>Due to an upsurge in the number of IoT, and mobile devices that support computer vision and image processing applications, there has been an emergence of new benchmark suites. The peculiar characteristic of these benchmark suites is that they share a lot of common code kernels. Due to the limited compute capability of the IoT devices, these applications are often offloaded to the cloud servers.</p><p>Now, the conventional way to accelerate these applications is to use FPGAs or GPUs. However, these devices do not support multi-application concurrency very efficiently. In fact, there are multiple such predictors [<a href="http://www.cse.iitd.ac.in/~diksha/files/papers/diksha_ispass.pdf">1</a>] that predict the performance of multi-application concurrency on GPUs with the help of CPU statistics before actually deploying such applications on a GPU. Moreover, we target the applications that work well on multicore CPUs and hence we develop specialized scheduling algorithms for them on the asymmetric multicores.</p><figure><img alt="General Scheduling Setup where N workloads compete amongst themselves to gain a scheduling quantum on K resources" src="https://cdn-images-1.medium.com/max/820/1*vGyV7vw1_jaPmyHAaOl-8A.png" /><figcaption>Figure 1: General Scheduling Setup</figcaption></figure><p>Figure 1 shows the general scheduling setup where N threads compete amongst themselves to gain a scheduling quantum on K resources. This is a complicated problem, however, it fits rightly in the auction theoretic framework. Our overall approach is shown in Figure 2.</p><figure><img alt="Auction theory based hardware scheduler" src="https://cdn-images-1.medium.com/max/451/1*yb3C8Y0suZ60G30vBRsIYg.png" /><figcaption>Figure 2: Overall Approach</figcaption></figure><h3><strong>2. Background</strong></h3><p><strong><em>Nash Equilibrium</em></strong> is an important concept in <a href="https://en.wikipedia.org/wiki/Game_theory">Game Theory</a>. The setting assumes multiple players with strategies and payoffs/utilities. In our case, the threads will be the players and they will have a virtual wallet that will be used in the bidding process. The highest bidder will get to execute on the core.</p><p>Nash Equilibrium is basically a stable operating point of the strategies for the players. No player can unilaterally change its strategy without getting worse off.</p><p>Let us consider the standard Bob and Alice problem, where both of them are given some pocket money by their moms to buy an ice-cream. Both the kids want to get the ice-cream as well as save some money for buying a toy. Figure 3 explains the setup and the scenarios that can occur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2xiMoM_tTTJZqCIlT5uWhw.png" /><figcaption>Figure 3: An example of Auction Theory</figcaption></figure><p>Based on the scenarios in Figure 3, the bid will be some fraction of the wallet balance (W).</p><blockquote>Bid = μ * W</blockquote><p>The <strong><em>utility</em></strong> or <strong><em>payoff</em></strong> is defined as the satisfaction or advantage that a player gets by consuming a resource, good, or service.</p><blockquote>Utility = (1-μ) * W; for winner, 0; for loser</blockquote><p>Let us complicate the scenario such that the ice-cream vendor is able to differentiate between the kids who are really needy and those who do not value the ice-cream. We introduce an <strong><em>auctioneer’s fee (F) </em></strong>to quantify the same. The equations then become:</p><blockquote>Bid = μ * (W-F)</blockquote><blockquote>Utility = (1-μ) * (W-F) ;for winner, 0; for loser</blockquote><p>Let us now extend the formulation to the scheduling problem. Unlike Bob and Alice&#39;s one-time ice-cream purchasing competition, a scheduling problem involves multiple such competitions among the threads at every scheduling quantum. In such cases, we need to incentivize the players to bid in the current round and not save their money for the future auction rounds. Thus, we introduce a winner’s bonus to tempt the players to bid, win, and get the bonus added to their wallet. Thus the equation for utility now becomes:</p><blockquote>Utility = (1-μ) * (W-F) + B; for winner, 0; for loser</blockquote><p>Another decision that we need to make is regarding the policy to update the wallet balance after every auction round. For the winner, it can be equal to its utility, however, for the loser, we cannot let it retain its old wallet balance. This is because the loser will then continue losing forever and there will be starvation, which is an undesirable phenomenon in a scheduling problem. Thus, we introduce a <strong><em>loser’s subsidy (L) </em></strong>to increment the loser’s wallet balance by a small amount after every auction round. The new wallet balance then becomes:</p><blockquote>Wallet (W_new) = (1-μ) * (W-F) + B; for winner,</blockquote><blockquote>Wallet (W_new) =W_old + L; for loser</blockquote><p>We use these results from game theory to calculate the Nash Equilibrium:</p><blockquote><strong>If the distributions of W-F and B are the same for all the N players, then </strong>∀ i ∈ N, <strong>μ_i = (N-1)/N, else we find the equilibrium strategies using Monte Carlo simulations accelerated by AI techniques.</strong></blockquote><h3>3. Experimental Setup and Workloads</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yg1hVqh589v27w5GxIISeQ.png" /><figcaption>Figure 4: Setup</figcaption></figure><p>Figure 4 shows the experimental setup of the multicore architecture used in this work. The right side of Figure 4 shows the different kinds of benchmarks suites that were used in the experimentation. We used <a href="http://www.cse.iitd.ac.in/~srsarangi/files/papers/patmospaper.pdf">Tejas</a> architectural simulator for our experimentation.</p><h3>4. Characterization of Workloads</h3><p>We perform a characterization of the workloads to gain further insights into their execution. We divide the execution of the workloads into smaller intervals, where each interval is identified by its instruction mix (percentage of different types of instructions such as SSE, ALU, MEM). The instruction mix forms the feature vector of the interval and these intervals are then clustered using K-means clustering. We observe five tightly coupled unique clusters as shown in Figure 5. Each cluster is named on the basis of the dominant instructions in the intervals present in these clusters. Thus, the entire execution of the workloads can be thought of as consisting of phases (intervals with certain dominating instructions). The same phases across the workloads are positively correlated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*ZoHa1t07fJA0rPXcOhNu2A.png" /><figcaption>Figure 5: Clustering of the intervals of the workloads</figcaption></figure><p>The left side of Figure 6 shows the modified scheduling problem. We use the phase behavior obtained from the characterization of the workloads to simplify our scheduling decisions. The right side of Figure 6 shows the flow chart of our scheduling scheme, VisSched. It is self-explanatory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pQG2Lj7_G9TisWyX1ZvJFg.png" /><figcaption>Figure 6: Flow Chart of VisSched</figcaption></figure><h3>5. Our Approach</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*eCKrp-tUYcqkhVOR5qSViQ.png" /><figcaption>Figure 7: Hardware Scheduler</figcaption></figure><p>Figure 7 shows the overall design of the hardware scheduler. We use wallet queue to store the current wallet balance of all the threads, phase counters to predict the phase at runtime, a phase table to find the appropriate waiting queue to enqueue a thread, ready queue for each core set, and miss rates for all the threads to calculate the cache costs. We also maintain the PC and the register states in the hardware structures to reduce the overheads of context switching.</p><h3>5.1 Auction Process</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/1*vRFmLTBvKrwEI9Li8KNohg.png" /><figcaption>Figure 8: Auction Theoretic Formulation</figcaption></figure><p>We will skip the details of the phase predictor and the phase-to-core mapping. For the auctioning process, we need to plug in our definitions of the bonus (B), auctioneer’s fee (F), and loser’s subsidy (L). Figure 8 shows our definitions of these terms. Here λ, γ, and κ are the constants (determined empirically). <em>W_base</em> is the base wallet balance and <strong><em>C </em></strong>is the migration cost. ICacheCost is the moving average of the ICache miss rate over the last five intervals. Similarly, we can define the cache costs for other cache types.</p><h3>5.2 Pattern Table</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*d1buHbWo7T5FZGvgjk_gBA.png" /><figcaption>Figure 9: A row of the pattern table</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*seDeufeSHiHjf-rmQuHOuQ.png" /><figcaption>Figure 10: Filling the pattern table</figcaption></figure><p>Figure 9 shows a row of the pattern table. We store the bidding strategies for a combination of the competing bidders in a row of the pattern table. This is done to prevent running Monte-Carlo simulations multiple times and reuse the results.</p><p>Figure 10 shows the step by step flow chart to fill the pattern table. The PT generation algorithm here refers to finding the Nash Equilibrium. It is done in the same way as explained above in the background section.</p><h3><strong>6. Results</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*H_aIdEww4C1itWVIID39lQ.png" /><figcaption>Figure 11: Performance comparison for a bag of tasks</figcaption></figure><p>We obtain a 17% performance improvement and 14% ED² improvement over the nearest state-of-the-art technique (as shown in Figure 11) for a bag of tasks. Each bag contains multiple different workloads. This is primarily due to our phase behavior and the novel auction theoretic formulation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*iAaRd-RSEdOMakWz0xjvTA.png" /><figcaption>Figure 12: Fairness</figcaption></figure><p>Figure 12 shows that we obtain better fairness using our scheme as compared to the state-of-the-art schemes. Fairness quantifies the relative slowdown of the applications in the bag. The idea is that the applications with minimum and maximum slowdowns should not be far apart. This is mainly due to our augmentations to the auction theoretic framework: bonus, auctioneer’s fee, and loser’s subsidy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/347/1*y97r1e3RnC46-Esnx3zFGA.png" /><figcaption>Figure 13: Search Space of the bidding strategies</figcaption></figure><p>Figure 13 shows the search space of the bidding strategies in the case of 2 bidders and 4 bidders. We observe that the search space is nearly convex with slight concave bumps. We observe that the non-convexity ratio is always ≤5.6%. Hence using a greedy approach such as hill-climbing, we can reach a local optimum. Our aim is to reach a non-trivial solution, N1 as opposed to the trivial solution, N2.</p><h3>7. Conclusion</h3><p>In this work, we propose an auction theoretic scheduling scheme that provides a high degree of fairness and is starvation free. Moreover, we identify the unique phase behavior of the vision workloads. Such behavior is absent from the popular CPU workloads such as Spec and Parsec. We also provide theoretical guarantees regarding the quality of the schedule.</p><p>Thank you for reading. That’s all folks! Hope you liked the article :)</p><p>For any questions, feel free to read the<a href="http://www.cse.iitd.ac.in/~srsarangi/files/papers/vissched.pdf"> full paper</a> or direct your questions to my email id: diksha [dot] moolchandani [at] cse [dot] iitd [dot] ac [dot] in.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94998c20de06" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>