- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Counter Size and Counter Overflow
Counter Size
- We must select counters large enough for avoiding overflow.
- Size is 4 bits/counter suggested by Poisson approximation.
- Average load implementing k = (ln 2)m/n counters is ln 2.
- Probability a counter has load minimum 16:≈e-ln2(ln 2)16/16!≈6.78E-17
- We consider 4 bits/counter for comparisons.
Counter Overflow
- When a counter does overflow, it may be arrived at its maximum value.
- This situation can later cause a false negative only if eventually the counter goes down to 0 when it should have remained at nonzero.
- The expected time to this situation is very large but is something we need to keep in mind for any application that does not permit false negatives.
- For avoiding counter overflow, its size must be sufficiently large. It was found that 4 bits per counter are sufficient.
- Related Articles
- Scintillation Counter
- What is the difference between Synchronous Counter and Asynchronous Counter in computer architecture?
- Difference between Synchronous and Asynchronous Counter
- Python counter and dictionary intersection example
- CSS counter-increment property
- CSS counter-reset property
- Counter-Culture: A Revolution
- SELECT increment counter in MySQL?
- Design Hit Counter in C++
- Decimal counter using logic controller
- 8085 program for hexadecimal counter
- Creating Animated Counter using HTML, CSS, and JavaScript
- Program counter (PC) in 8085 Microprocessor
- What is a Geiger Muller counter?
- Compare exchange traded derivatives and over the counter (OTC)

Advertisements