Posts

Showing posts from September, 2020

Classless Inter Domain Routing (CIDR)

Image
 CIDR is  a new classification defining the network range to avoid IPV4 Congestion. Before Understanding CIDR let us look into the below pic.     Lets look at the above diagram , it shows the number of available ips in the network , so we will have upto 2^32. Let us understand the circle is a large cake and it is being cut into slices of  class A/B/C/D/E/F. So when we approach IANA(Internet assigned number Authority ) ,we have to buy or take entire slice of IPS irrespective of your need. For example class A is having 2^24 and class B is having 2^16 (16000). class A : 8 N/24 HID class B: 16 N/16 HID Class C: 24N/8HID To solve this problem we have to go with classless representation which avoids taking the IP range from the entire class. Here you will be asked to take a small slice of cake upon your requirement in the multiples of 2^n and takes the below representation CIDR NOTATION: a.b.c.d/n = BID 32-n and n means host id  eg : 10.20.1.20/20  BID= 20 a...

Oracle Huge Pages

 Huge pages is actually required to manage huge SGA . While coming to the concept SGA is swanned based on the granules where each granule count increases based on the accumulated data into data buffer and this will be mapped to physical OS block. OS block is defined in terms of  1MB or more , so let us assume for 512MB RAM , allocates 1MB*512 Blocks. So instead of relying on physical blocks lets define a page /huge page which swanned across blocks and allocates the pages to SGA resulting into better memory processing. In Oracle we can forcefully make a database memory to use huge pages with the parameter use_larege_page  ALTER SYSTEM SET use_large_pages=only SCOPE=SPFILE Shut immediate Note: The Oracle 11g Automatic Memory Management (AMM) feature is not compatible with Linux HugePages. In order to utilize HugePages, the Automatic Shared Memory Management (ASMM) feature can be configured for the Oracle database. To configure Oracle to support Linux HugePages, perform the ...