scholarly journals Inverse Bin-packing Number Problems: NP-Hardness and Approximation Algorithms

2012 ◽  
Vol 18 (2) ◽  
pp. 19-22 ◽  
Author(s):  
Yerim Chung
Author(s):  
Moses Reuven ◽  
Yair Wiseman

A technique for minimizing the paging on a system with a very heavy memory usage is proposed. When there are processes with active memory allocations that should be in the physical memory, but their accumulated size exceeds the physical memory capacity. In such cases, the operating system begins swapping pages in and out the memory on every context switch. The authors lessen this thrashing by placing the processes into several bins, using Bin Packing approximation algorithms. They amend the scheduler to maintain two levels of scheduling - medium-term scheduling and short-term scheduling. The mediumterm scheduler switches the bins in a Round-Robin manner, whereas the short-term scheduler uses the standard Linux scheduler to schedule the processes in each bin. The authors prove that this feature does not necessitate adjustments in the shared memory maintenance. In addition, they explain how to modify the new scheduler to be compatible with some elements of the original scheduler like priority and realtime privileges. Experimental results show substantial improvement on very loaded memories.


2000 ◽  
Vol 26 (5) ◽  
pp. 217-222 ◽  
Author(s):  
Guochuan Zhang ◽  
Xiaoqiang Cai ◽  
C.K. Wong

2021 ◽  
Author(s):  
Amitesh Pandey

The Bin Packing problem in 2 space is an NP-Hard combinatorial problem in optimization of packing and arrangement of objects in a given space. It has a wide variety of applications ranging from logistics in retail industries to resource allocation in cloud computing. In this paper, we discuss the mathematical formulation of this problem. Furthermore, we analyse its time complexity, its NP-Hardness and some of its stochastic solutions with their efficiencies. We then propose additional complexities that would make the problem more fit for industrial use and discuss in depth the domains in which it might prove to be useful. We conclude while suggesting areas of improvement in operations research on this subject.


Sign in / Sign up

Export Citation Format

Share Document