2015
DOI: 10.1002/cpe.3636
|View full text |Cite
|
Sign up to set email alerts
|

An efficient solution to the subset‐sum problem on GPU

Abstract: Summary We present an algorithm to solve the subset‐sum problem (SSP) of capacity c and n items with weights wi,1≤i≤n, spending O(n(m − wmin)/p) time and O(n + m − wmin) space in the Concurrent Read/Concurrent Write (CRCW) PRAM model with 1≤p≤m − wmin processors, where wmin is the lowest weight and m=min{}c,∑i=1nwi−c, improving both upper‐bounds. Thus, when n≤c, it is possible to solve the SSP in O(n) time in parallel environments with low memory. We also show OpenMP and CUDA implementations of this algorithm… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1

Citation Types

0
3
0

Year Published

2017
2017
2024
2024

Publication Types

Select...
3
2

Relationship

0
5

Authors

Journals

citations
Cited by 6 publications
(4 citation statements)
references
References 11 publications
0
3
0
Order By: Relevance
“…Seeking a more flexible algorithm, we explored combinatorial optimization techniques for analyzing packet volumes on a time series. In particular, we started by applying the original subset sum [20] algorithm to align packet volumes on both client and onion service sides on a per-request granularity. That is, rather than employing our current sliding window algorithm to match packet sizes for the entire flow pair, we first estimated which packets within the flows correspond to individual requests (e.g., an HTTP GET request to a web page), segregated all the requests of each flow, and tried to match a request sent by the client with a request received by the onion service.…”
Section: H Explored Approaches Before Converging On Sumomentioning
confidence: 99%
See 1 more Smart Citation
“…Seeking a more flexible algorithm, we explored combinatorial optimization techniques for analyzing packet volumes on a time series. In particular, we started by applying the original subset sum [20] algorithm to align packet volumes on both client and onion service sides on a per-request granularity. That is, rather than employing our current sliding window algorithm to match packet sizes for the entire flow pair, we first estimated which packets within the flows correspond to individual requests (e.g., an HTTP GET request to a web page), segregated all the requests of each flow, and tried to match a request sent by the client with a request received by the onion service.…”
Section: H Explored Approaches Before Converging On Sumomentioning
confidence: 99%
“…The inspiration for our attack stems from our approach to correlate flow pairs. Instead of relying on deep neural networks as in DeepCorr or DeepCoFFEA, we adapted a variation of the well-known NP-complete decision problem, the subset sum [20], and used the absolute packet arrival times to perform flow correlation. We model the packets received by clients and transmitted by onion services as a bounded time series, which is the reason for SUMo's notable efficacy at identifying patterns.…”
Section: Introductionmentioning
confidence: 99%
“…In one of our most promising attempts so far, we start by fixing the initial and final absolute times of a client request and split the received packets during this time interval into buckets of 500 ms each. We do the same splitting for the packets sent on the OS side and apply an adapted version of the known NP decision problem Subset Sum [10]. Since we apply it on a bounded time series, it is particularly effective at matching patterns between the packets received by the clients and packets sent by the OS.…”
Section: Technical Approachmentioning
confidence: 99%
“…The parallel solving of the subset sum problem was also actively studied in literature (see, e.g., References 6–10). Special attention was paid to GPU implementation for the parallel solving of the subset sum problem (see, e.g., References 11–15). For these reasons, the question of parallel realization of Balsub is of great interest.…”
Section: Introductionmentioning
confidence: 99%