<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Passel: Improved Scalability and Efficiency of Distributed SVM using a Cacheless PGAS Migrating Thread Architecture</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>11/01/2021</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10402605</idno>
					<idno type="doi">10.1109/ScalA54577.2021.00009</idno>
					<title level='j'>12th Workshop on Latest Advances in Scalable Algorithms for Large-Scale Systems (ScalA)</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Brian A. Page</author><author>Peter M. Kogge</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Stochastic Gradient Descent (SGD) is a valuable algorithm for large-scale machine learning, but has proven difficult to parallelize on conventional architectures because of communication and memory access issues. The HogWild series of mixed logically distributed and physically multi-threaded algorithms overcomes these issues for problems with sparse characteristicsby using multiple local model vectors with asynchronous atomic updates. While this approach has proven effective for several reported examples, there are others, especially very sparse cases, that do not scale as well. This paper discusses an SGD Support Vector Machine (SVM) on a cacheless migrating thread architecture using the Hogwild algorithms as a framework. Ourimplementations on this novel architecture achieved superior hardware efficiency and scalability over that of a conventional cluster using MPI. Furthermore these improvements were gained using naive data partitioning techniques and hardware with substantially less compute capability than that present in conventional systems.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>Inferencing via Machine learning (ML) is often straightforward to perform efficiently, especially by purpose-built hardware (cf. Google's TPU) <ref type="bibr">[1]</ref>). However, learning is far more complex. It typically involves reading large numbers of training examples, performing a small number of operations on each, updating an evolving solution, and repeating. In addition, much training data is sparse, and this sparsity is often very irregular from sample to sample.</p><p>This paper focuses on parallel execution of one such learning algorithm, Stochastic Gradient Descent (SGD) as applied to Support Vector Machine problems, and implemented on a novel emerging architecture. The implementations are based on the "HogWild" algorithms <ref type="bibr">[2]</ref>- <ref type="bibr">[4]</ref> that were designed with sparse data sets in mind. Sparsity in this case is where individual training records may all have the same logical size but may have only a few features that are non-zero.</p><p>Good speedup has been reported in the past for problems with moderate sparsity and moderate levels of multi-threaded parallelism. Reported speedup, however, isn't as efficient for the sparsest of data sets, largely because of major inefficiencies in modern architectures when faced with memory-bound problems with significant irregular communication. Unfortunately such sparsity is common in many real large applications such as recommender systems and social media applications. Prior work on conventional parallel SGD implementations have yielded similar disappointing results.</p><p>Previous studies have also evaluated the effects of extreme sparsity on similar irregular problems such as Sparse Matrix Vector Product (SpMV) when executed on a variety of architectures <ref type="bibr">[5]</ref>- <ref type="bibr">[7]</ref>, and real-time streaming <ref type="bibr">[8]</ref>. All have had similar results on modern conventional architectures: attempting strong scaling on sparse data is very tough, and sometimes even counter-productive -more parallelism often lowers performance. In fact the only architecture evaluated which exhibited sustained positive scaling on these problems was the one used here <ref type="bibr">[6]</ref>, <ref type="bibr">[8]</ref>, <ref type="bibr">[9]</ref>.</p><p>The main contributions of this paper come from a port of the Hogwild++ algorithm to a migrating thread architecture and a careful scaling comparison with both results from the literature and a local implementation on a conventional cluster. The migrating thread version we developed uses multiple unique features of the underlying architecture, and demonstrates superior scalability over the conventional implementations, both in terms of use of hardware resources ("cores") and in terms of logical concurrency ("threads").</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. BACKGROUND A. Reference Problem</head><p>The goal of a typical ML problem is to analyze a set E of training examples (each a vector with F features), and determine an F -element model vector &#969; = [ &#969;1 , ... &#969;F ] &#8712; R F that can be used to predict something about a previously unseen feature vector, such as what class it may lie in. This model vector is one that minimizes some objective function f (&#969;), often expressed as a sum over an "error function" applied to each example. Stochastic Gradient Descent (SGD) repeatedly uses training data against the current model vector, determines when a projection is incorrect, and uses the "direction" of the error to modify the model vector slightly. Problems that Fig. <ref type="figure">1:</ref> A single node in the Emu Chick system. There are 8 nodelets within a single node. Nodes are connected over a Serial RapidIO interconnect (not shown here).</p><p>fall in this class include: SVM, matrix completion, and graph partitioning.</p><p>The SGD variant analyzed here is for the Support Vector Machine (SVM) problem, taken from <ref type="bibr">[2]</ref>. In such a problem, samples and observations are vectors of features, and are to be divided into one of two classes. The desired support vector &#969; determines this split by taking the inner product between itself and an observation, and looking at the sign of the scalar that results. The training set in this case is a set of pairs (z e , y e ) where z e is a vector of feature values, and y e is either +1 or -1, depending in which of the two classes sample e falls. The error function f e is the hinge loss: max(0, 1-y e d e ) where d e = &#969;T z e +b is the "inference" inner product plus a bias term b. The product y e d e is thus positive if &#969; is a good predictor, and negative otherwise, For a model that predicts incorrectly, the loss is positive. For a correct prediction there are two cases: correct but "close" (1 &gt; y e d e &gt; 0) and "very correct". The latter case makes the loss zero; the former returns a small loss that is an encouragement to "do better."</p><p>The objective function is thus the sum of the error functions applied to all samples, with an extra term &#955;||&#969;|| <ref type="foot">2</ref>2 added on to keep the magnitude of the model vector small.</p><p>The gradient &#8711; f (&#969;) is an n-element vector where the i th component can be approximated as:</p><p>where h is a small number and b i is the n-element basis vector where only the i th component is non-zero (a "1").</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Migrating Thread Architecture</head><p>A migrating thread architecture <ref type="bibr">[10]</ref> is one where the underlying hardware dynamically moves the state of a thread during execution. Fig. <ref type="figure">1</ref> diagrams such an architecture as implemented by Lucata Solutions <ref type="bibr">[11]</ref> for a large scalable Partitioned Global Address Space (PGAS) parallel system where any thread on any core can reference any memory location in the system by simple load/stores. The basic unit, a nodelet, is a memory module, its controller and some number of multi-threaded cores. All nodelet memory resides in a common address space. A network connects all nodelets. A thread runs in a multi-threaded "GC core" until it makes a memory reference that is not contained in that nodelet's memory. The hardware then puts the thread to sleep, packages it, and moves it over the network to the correct nodelet, where it is unpacked and restarted. No software need intervene.</p><p>A thread can spawn independent child threads. Also, the memory controller contains hardware to implement atomic operations as close to memory as possible. Finally, very lightweight threads can be spawned to perform remote memory operations without moving the parent.</p><p>The prototype used, a Lucata Chick, is housed at Georgia Tech's CRNCH center <ref type="foot">1</ref> . It has 64 nodelets, each with 8GB of memory and one 175MHz multi-threaded core. These nodelets are packaged 8 to a node board which supports a RapidIObased network that connects 8 such boards in a single chassis. A dual core POWER microprocessor on each node board runs Linux, manages a local SSD, and launches migrating threads into the system. The nodelet logic on each board is implemented in an FPGA. Table <ref type="table">I</ref> compares its characteristics to that of the conventional system used as a baseline.</p><p>Due to the FPGA implementation, the core clock rate of the conventional baseline is 15X that of the CRNCH Chick. A more complete comparison is probably even higher than this in favor of the baseline as the nodelet cores are single issue and the baseline cores are multi-issue. Also, on a per core basis, the baseline has about 4.4X a pro-rated memory bandwidth of a core in the Chick, but, because of the memory channel design used in the nodelets, the ability of a Chick core to handle different independent memory accesses is actually 1.8X higher. Finally, the average network injection bandwidth per core is higher for the Chick than the baseline 2 .</p><p>The programming tool chain is based on Cilk: C with a prefix to function calls to spawn new threads, a sync to wait for a set of children to complete, and a parallel forall to have a set of independent threads cooperate on a loop. Supported intrinsics include a rich set of remote atomic operations.</p><p>The migrating thread system has 3 levels of system parallelism: node, nodelet, and thread. Furthermore because threads can migrate freely throughout the entirety of the address space, there is the capability for significant overlapping of thread migration with computation. Lastly cacheless architectures are naturally coherency-free, therefore the performance degradation from cache coherency protocols and repeated cache invalidations on conventional architectures can be avoided.</p><p>A second generation system, Pathfinder-S, is currently being installed in the CRNCH Center, and should be available in the near future. This system has 3X the cores per node board and 2.7X the memory bandwidth. Also, unlike the Chick, a thread running on any core can access any of the 8 memory channels without even a local on-board migration. This improves load balancing. Only accessing memory on some other board causes a migration.  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. RELATED WORK</head><p>Many real problems involve huge training sets, both in the number of samples |E| and the number of features per sample F . Both can quickly range into the millions or more; therefore, parallel versions that scale well are essential. Unfortunately, simple approaches bottleneck around memory issues such as inter-socket coherency traffic and false sharing. The obvious multi-threaded algorithm handles different examples concurrently. However, if all updates into a shared model vector from each example must be done atomically for each working solution, computing serializes around locking and unlocking access to that solution. This serializes the solution.</p><p>Prior parallel SGD implementations have seen such issues limit efficient parallel scalability. The codes DisBelief and Downpour <ref type="bibr">[12]</ref>, for example, saw only moderate speedups for dense problems solved on deep neural nets: 2.2X on 8 nodes for moderate speech problems, and 12X on 81 node systems for larger images. Other work has focused on relatively sparse SVM <ref type="bibr">[13]</ref> but has not reported comparable speedup.</p><p>The exception is when the samples are very sparse, that is when most of the features in a training example are not relevant or not available. In this case, the interleaving of partial updates to the overall solution may be acceptable, because each training sample typically affects a small subset of the solution. Thus, each example updates a relatively different subset of the model vector, and doing so in parallel is likely not to significantly lengthen the number of epochs needed for convergence. This likely independence of update subsets also means that locking the entire solution during an update is unnecessary, as long as individual model vector elements are updated atomically.</p><p>1) Hogwild!: The HogWild! algorithm <ref type="bibr">[2]</ref> was the first of a series of algorithms (summarized in Table <ref type="table">II</ref>) to employ this technique. The original paper discusses the sparsity conditions under which such update independence is possible. Decent speedup was reported when using a small number of threads on data sets with 10s of thousands to millions of features per sample but extreme sparsity (as little as 0.002%). However, coherency traffic limited the maximum number of threads that were useful to the number of cores on one socket. This in turn limited the maximum speedup.</p><p>The DimmWitted algorithm <ref type="bibr">[15]</ref> performed a careful comparison of several variants of HogWild!s. Tradeoffs included whether to store examples by rows or columns, how the set of training examples should be replicated and blocked, and how many "local" training vectors were reasonable. The best combination achieved about 2.3X improvement over HogWild! for the rcv1 data set, but parallelism was limited to two sockets of only six cores each.</p><p>The BuckWild! algorithm <ref type="bibr">[4]</ref> reduced the precision of individual features to as low as 8-bits, allowing memory fetches to return more features per access. One data set saw 2.5 times the performance of HogWild! at 12 cores.</p><p>The final algorithm in Table <ref type="table">II</ref> was DMS, <ref type="bibr">[15]</ref>. This study was much like DimmWitted in that it surveyed a variety of options. It was different in that it assumed a conventional distributed cluster with Infiniband interconnect. Variations included the number and placement of model vectors and variations in block size. Synchronization of local model vectors was via a global AllReduce done after blocks of examples were processed in each node. Speedup here appears to peak at about 5X over a single core in a system with 32 total cores. The limiting factor appeared to be inter-node bandwidth, much like what we found in our SpMV studies.</p><p>2) Hogwild++: The HogWild++ algorithm <ref type="bibr">[3]</ref> assumes a NUMA<ref type="foot">foot_2</ref> architecture and goes even further in reducing the effects of sharing between threads, especially that which causes invalidation traffic, without causing major increases in convergence time. The algorithm divides computation into logical clusters that have their own local model vector, and includes a step to propagate local changes to other clusters. Having a pair of working vectors then means that a cluster can determine which features have changed since the last token passing, and then send updates for just those changes to its neighbors. This greatly reduces inter-cluster traffic when the number of features is large and the sparsity significant.</p><p>Each cluster is a multi-core implementation of the original asynchronous HogWild! algorithm, but where all cores are on the same physical socket. In a multi-socket system, the computations within a cluster thus never cross a socket boundary, so that none of the corrosive cross-socket invalidation traffic is created. Only the memory channels tied to a single socket are devoted to a particular cluster. There is still, however, onsocket interfering cache traffic.</p><p>Table <ref type="table">III</ref> summarizes reported results for SVM using the HogWild++ algorithm <ref type="foot">4</ref> . The F column gives the average number of non-zeros per sample, and is the feature count F times the sparsity. The &#964; 0 column is the minimum number of samples that must be processed by a cluster before the cluster   will accept a token <ref type="foot">5</ref> . Of these data sets the most interesting is news20 as it is the most sparse and the lowest speedup. It also has by far the largest number of features, meaning inter-cluster traffic is liable to be more significant.</p><p>In this table, "cores" means the same as "threads," and the "Best Configuration" columns describe the division of cores into clusters. "Speedup" is measured against running on a single core/single thread. In all cases, the biggest case was using all 40 cores in the system (4 sockets of 10 cores each).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. IMPLEMENTATION A. Passel: Distributed Hogwild++ on Migrating Threads</head><p>The migrating thread version of distributed Hogwild++, called Passel, uses the conventional cluster implementation as a framework and incorporates hardware specific advancements. The result is that Passel is true to the Hogwild++ algorithm, but tailored to using migratory threads within a logically shared but physically distributed address space. Despite the Lucata Chick being a shared cacheless architecture, application performance is often dependent on data partitioning and placement as was shown in <ref type="bibr">[16]</ref>. Each cluster is given a disjoint subset of training data to work over, as well its own working and model vector. Correspondingly, training in Passel is identical to that of Hogwild++ and our distributed derivative version.</p><p>Passel's advantage stems from its use of thread migrations and remote atomic operations. Given the PGAS address space of the Lucata Chick system, any address in the entire space is accessible by any thread, from anywhere in the system, at any time. As such it is the passing of update tokens and the subsequent update sequence that takes full advantage of the migrating thread architecture.</p><p>Fig. <ref type="figure">2</ref> illustrates the sequence of events that occur during an inter-cluster update. In Fig. <ref type="figure">2a</ref> cluster j is currently training when it receives the update token. At the beginning of its next loop iteration, thread 0 on j detects the token and spawns a team of upstream update threads followed immediately by spawning a team of threads remotely on j +1 to perform the downstream update. Once the newly spawned update threads have finished spawning and are ready, they begin to execute their respective update operations.</p><p>During any update, both cluster j and j +1 partake in the update, while the training threads on either cluster continue to train if there is still training data to analyze. From Fig. <ref type="figure">2b</ref> we see that update thread teams on both clusters have begun to execute and calculate the model vector alterations that must be made to their targets' working or model vectors. These scaled adjustments are done using REMOTE ADD() operations and are executed directly in the receiver's memory controller. As such j can asynchronously update j + 1's working vector as well as its own model vector, while j + 1 is simultaneously remotely updating j's model and working vectors. Once the update is complete, both upstream and downstream thread teams exit and cluster j passes the token to j +1 via another REMOTE ADD().</p><p>Additionally since the training loop consists entirely of local operations within a cluster, full thread migrations do not occur because the threads only access memory addresses on their own nodelet. Instead we take advantage of the architecture's method for performing instructions as remote atomic stores. Any arbitrary store to memory is done atomically and can be done asynchronously without causing the calling thread to wait for completion. This means that local working vector updates generated during the analysis of a training sample are added atomically and do not require the explicit use of atomic instructions or critical sections to prevent race conditions despite the shared environment.</p><p>Similar to Hogwild++ and our distributed version, training and updates continue as per normal until the desired completion criteria has been met. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Conventional Distributed Hogwild++</head><p>The original Hogwild++ algorithm was intended to eliminate the performance penalty of cache coherency traffic seen during the Hogwild! study by subdividing the training set into disjoint clusters which run independently of one another during training. To compare the Lucata Chick against traditional cluster systems, in addition to reported numbers from a shared memory configuration, we developed a distributed implementation of the Hogwild++ algorithm which utilizes the message passing interface (MPI) to perform its inter-cluster updates.</p><p>Memory allocation and indexing as well as the arithmetic operations performed during training and updates is identical to that of the original shared memory version of Hogwild++. Additionally, updates are still initiated upon receipt of a token. In our distributed implementation Update tokens are passed to the adjacent nodelet asynchronously using MPI Isend while thread 0 on the receiving cluster periodically probes to see if it has received the token. Once an update has begun, MPI Sends send model alterations between the updating cluster j and its update target j +1. After using the transmitted data to update j + 1's working vector as well as perform a self update of both j's working and model vectors, j will pass the token to j +1. This process continues until the desire epoch count, or some other stopping criteria has been met.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>V. EVALUATION</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Experimental Setup</head><p>Tests using the distributed Hogwild++ were implemented on the conventional cluster and used between 1 and 64 nodes, with each node constituting a single cluster. In order to perform the best possible architectural comparison, 1 core per node was used, meaning each cluster consisted of a single compute core but full use of all memory channels and other relevant hardware on node. This was chosen due to the current Chick implementation possessing a single core per nodelet, providing us a method for comparing on a core to core basis.</p><p>Tests on the Lucata system were conducted using between 1 and 8 nodes for a total of 8 to 64 nodelets in a log2 fashion just as in the conventional tests. Total thread counts range from 1 to 1024. The much higher thread counts allow for the 16 stage pipeline of each nodelet processing core to have a higher chance of remaining full. This is not something that the conventional processor required, as it is capable of multiinstruction issue and has a different pipeline depth. Additionally results in previous studies show that increasing thread count per cluster on a conventional systems leads to decreased performance from cache coherency traffic. Our evaluations indicate that a nodelet running 16 threads is roughly equivalent in CPI to a conventional core of the type used in this study running a single thread.</p><p>We ran each of the 4 data sets on both systems in accordance with the standard "10 fold cross validation method" for evaluating a machine learning algorithms accuracy. Every system size or thread count configuration ran all 10 variations of training and testing data in order to obtain valid accuracy and standard deviation measurements.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Accuracy</head><p>Both our distributed Hogwild++ and Passel achieved accuracy comparable to those observed by Hogwild++ on a single </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Scalability</head><p>We evaluated the scalability of our implementations by comparing their average epoch times. Fig. <ref type="figure">4</ref> shows the average epoch time of all 4 data sets on for both distributed Hogwild++ on conventional and Passel on the Lucata Chick. As expected both systems and their respective implementation experienced a decreased in the average time to complete a single as system size was scaled up towards the maximum of 64 cores. Each core represents a single Hogwild++ cluster with each cluster residing on a single node in the case of the conventional system, or a single Chick nodelet. this means that any inter-cluster update will require communication of some kind be it explicit MPI send/receives or thread migrations. The conventional system achieves the fastest epoch times for all data sets. However it also saw considerable increase at 2 cores (clusters) due to the addition of MPI overhead required to perform updates. On the other hand, Passel achieved consistent reduction in epoch times as core counts increased. Additionally unlike the conventional cluster as more nodes were added, thus increasing the off node communication required, no significant impact from this additional overhead was observed. We note that the execution time per epoch for the Chick is about greater than that for the conventional implementation, but at a factor almost perfectly in line with the difference in clock rates.</p><p>Here we define speedup as single cluster time mutli-cluster time . In Fig. <ref type="figure">5</ref> we show the speedup for Passel and distributed Hogwild++. Much like the epoch times seen in the previous figure, the slope of lines for each data set is similar across both implementations and architectures. That being said, Passel and its use of migrating threads maintained near-perfect speedup for all but the sparsest data set news20. The conventional cluster experienced significantly decreased speedup when moving from 1 to 2 clusters as the additional MPI overhead necessary for intercluster updates outweighed the performance benefit of strong scaling. As system size was further increased, computational performance gain via strong scaling regained much of this speedup. In spite of this the continued presence of overhead communication means that the conventional system was only able to achieve between approximately 45.6% and 85.9% the speedup observed for Passel on covtype and news20 respectively. reported scaling results from the original HogWild++ paper. As can be seen they are in almost perfect agreement with our conventional results.</p><p>In addition to hardware concurrency (cores) we evaluated speedup in relation to logical concurrency (threads). As stated previously, due to architectural differences in the processing cores single conventional core running 1 thread is equivalent to a Chick nodelets' core running 16 threads. This means that the Lucata Chick is capable of higher levels of logical concurrency using for the same amount of physical hardware concurrency on a conventional system. Remember that it was the logical concurrency (inter-thread coherency traffic) that afflicted the original HogWild implementations. Fig. <ref type="figure">6</ref> shows the speedup relative to the total number of threads used for all data sets.</p><p>For the speedups shown on Fig. <ref type="figure">6</ref> we compute speedup as single cluster single thread total thread count . We can see that the speedups for the conventional cluster remain unchanged from those seen in the core count comparison, since its core and thread counts are 1 to 1. Alternatively due to the dramatic increase in logical concurrency on the Chick we were able to run up to 1024 concurrent threads when using 64 total nodelets. Thanks to this additional concurrency Passel achieved dramatically improved speedup of 978X, 754X, 919X, and 125X for covtype, webspame, rcv1, and news20 respectively. These speedups are vastly superior to distributed Hogwild++ on the conventional cluster.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Hardware Efficiency</head><p>A common metric for benchmarking HPC systems is hardware efficiency. Fig. <ref type="figure">7</ref> shows throughput in terms of non-zeros from training data evaluated per second vs compute cycles (clock times cores). The slope of the each data set's line for both systems is approximately the same, with the exception of the significant dip at 2 cores for the conventional cluster. As mentioned previously this dip is caused by the introduction of MPI communication which was not present when running on  only one node. For Passel on the Chick we can see that the throughput scales near perfectly for all data sets except the sparsest news20.</p><p>In addition to throughput we analyzed the efficiency of logical concurrency for each system by looking at speedup per thread for both systems. As seen in Fig. <ref type="figure">8</ref> Passel on migrating threads achieves superior speedup per thread despite being a single instruction issue core, possessing just 1/15th the clock rate and just 1/8th the bandwidth per memory channel. This is due to the cacheless nature of the Lucata Chick architecture. Even when executing multiple threads per core, the Chick does not incur any invalidation penalty since there are no core caches. Similarly each memory references accesses a single 64 bit value meaning that the hardware only accesses the exact memory address requested and nothing more, eliminating wasted memory bandwidth taken up by unused data as is done on conventional architectures.</p><p>Another important factor is the elimination of explicit software driven inter-node communication such as MPI. This is not to say that there is no communication in the Lucata Chick but rather that communication is performed in a highly efficient manner directly at the hardware level. We can see the dramatic effects eliminating this overhead has on scalability in Fig. <ref type="figure">8</ref> where we observed perfect or near perfect speedup per thread using Passel while the conventional system had significantly lower efficiency.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VI. EXTRAPOLATION TO PATHFINDER-S</head><p>As mentioned earlier, a new migrating thread system is being installed in the CRNCH center, with characteristics in Table <ref type="table">I</ref>. There are 3X more, 1.3X faster, cores and almost 3X more memory bandwidth. This should reduce Epoch time (Fig. <ref type="figure">4</ref>) by up to 3X. The Speedup vs Core Count (Fig. <ref type="figure">5</ref>) and Speedup per Thread Count (Fig. <ref type="figure">6</ref>) should maintain their advantages over conventional for the pictured range, with the potential to scale further up to a 6X higher range. The Non-Zeros/s vs Compute Cycles (Fig. <ref type="figure">8</ref>) should see an upward lift of 30% for the Lucata curves as shown (faster clock), and again a 6x increase in the trends (2X nodes, 3X cores/node). We expect to perform verifying experiments on the new CRNCH Center system when it becomes available.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VII. CONCLUSIONS</head><p>This study sought to evaluate the performance and scalability of SGD SVM on a novel migrating thread architecture. We designed and implemented a distributed implementation for use on a conventional AMD based cluster, as well as Passel a migrating thread implementation designed for the Lucata Chick architecture.</p><p>Our tests showed that the conventional architecture scaled poorly with respect to threads averaging considerably less than 1X speedup for each additional thread. Alternatively migrating threads obtained near perfect speedup per thread leading to a peak speedup of 978X with 1024 concurrent threads vs a peak of just 41.7X on conventional, despite having dramatically less compute capability in terms of hardware. This was possible thanks to improved hardware efficiency brought on by the cacheless nature of the system, as well as the ability to perform remote atomic operations directly in the memory controller thereby providing an additional level of logical concurrency not present in traditional architectures.</p><p>We also now understand why the migrating thread advantage was lessened for the most sparse news20 case (the model vectors are much longer), and have an alternative algorithm under test that appears to regain the significant migrating advantage for this very sparse case. Coupled with enhancements as found in the Pathfinder-S system, and even further with competitive ASIC implementations, it is not unreasonable to suggest that such systems will not only continue to have superior scalability, but also superior raw performance for such irregular problems.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>https://crnch.gatech.edu/rogues-Lucata</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1"><p>It should be noted that the baseline system has much higher bandwidth between its on-node 48 cores, and thus this ratio has a lot of caveats</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_2"><p>NUMA = "Non Uniform Memory Access" where a deep hierarchy of caches often make memory accesses highly variable in access time, and is typical of modern multi-core chips and multi-socket nodes.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_3"><p>The best configuration reported in Table III comes from the speedup figures, not the text, as there seems to be a difference.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="5" xml:id="foot_4"><p><ref type="bibr">[3]</ref> reports using &#964; 0 of</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="64" xml:id="foot_5"><p>when the number of cores per cluster was 10, and 16 otherwise.</p></note>
		</body>
		</text>
</TEI>
