Accurate counting algorithm for high‐speed parallel applications. (23rd November 2018)
- Record Type:
- Journal Article
- Title:
- Accurate counting algorithm for high‐speed parallel applications. (23rd November 2018)
- Main Title:
- Accurate counting algorithm for high‐speed parallel applications
- Authors:
- Wang, Junchang
Li, Tao
Fu, Xiong - Abstract:
- Summary: Statistical counter offers the appeal of an efficient and scalable counting mechanism on multi‐core architectures where parallelism has been increasing sharply. Statistical counter has been widely used in practice (eg, in high‐end network devices to count the number of packets received) despite the truth that it can only provide weak consistency guarantee on the counting results it returns, that is, statistical counter could miscount and the returned results may be inaccurate. As hardware and its parallelism advances, the miscount issue has raised concerns in both industry and academy. This paper is motivated by this real‐world miscount issue that we were facing when building a high‐speed intrusion detection system on a commercial multi‐core server with 40Gbps NICs. To tackle the problem, we first systematically analyze the miscount issue and quantify the miscounts in counting results. Then, we present a novel counting algorithm that (1) is competitive to statistical counter in performance on multi‐core architectures and (2) provides strong consistency guarantee on counting results returned. Experiments show that it takes the new counting algorithm 10ns and 1, 500ns to perform an update and a read operation, respectively. Moreover, the counting results returned are accurate.
- Is Part Of:
- Concurrency and computation. Volume 31:Number 13(2019)
- Journal:
- Concurrency and computation
- Issue:
- Volume 31:Number 13(2019)
- Issue Display:
- Volume 31, Issue 13 (2019)
- Year:
- 2019
- Volume:
- 31
- Issue:
- 13
- Issue Sort Value:
- 2019-0031-0013-0000
- Page Start:
- n/a
- Page End:
- n/a
- Publication Date:
- 2018-11-23
- Subjects:
- counting algorithm -- lock‐free data structure -- multi‐core -- strong consistency
Parallel processing (Electronic computers) -- Periodicals
Parallel computers -- Periodicals
004.35 - Journal URLs:
- http://onlinelibrary.wiley.com/ ↗
- DOI:
- 10.1002/cpe.5090 ↗
- Languages:
- English
- ISSNs:
- 1532-0626
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 3405.622000
British Library DSC - BLDSS-3PM
British Library STI - ELD Digital store - Ingest File:
- 10865.xml