Sunday, 29 January 2012

Memory Interface

Introduction
Simple or complex, every microprocessor-based system has
a memory system. 

Almost all systems contain two main types of memory:
read-only
memory
 (ROM) and
random access memory
(RAM) or read/write memory. 

This chapter explains how to interface both memory types to
the Intel family of microprocessors. 

 MEMORY DEVICES
Before attempting to interface memory to the
microprocessor, it is essential to understand the operation of
memory components. 
In this section, we explain functions of the
four common types of memory: 
read-only memory (ROM) 
Static random access memory (SRAM)

Memory Pin Connections 
address inputs
data outputs or
input/outputs
some type of
selection input
at least one control
input to select a read
or write operation

Address Connections
Memory devices have address inputs to
select a memory location within the device. 
Almost always labeled from A
0
, the least significant address
input, to A
where subscript n can be any value
always labeled as one less than total number
of address pins
A
memory device with 10 address pins has 
its address pins labeled from A
0
 to A
9
.
The number of address pins on a memory device is
determined by the number of memory locations found
within it.
Today, common memory devices have between 1K (1024)
to 1G (1,073,741,824) memory locations. 
with 4G and larger devices on the horizon




Data Centers notes


The Standards You’ll Need in the
Next Generation Data Center
By Paul Rubens
June 6, 2011
Many data centers are reaching the limits of their capacity: space and power
are in short supply, cooling is diffcult to achieve and the management of
servers and their associated cabling is becoming increasingly complex.
The good news is that “next generation” data centers promise increased
automation, greater energy effciency, reduced complexity and lower total cost
of ownership (TCO), using a variety of technologies including blade servers,
virtualization, cloud computing and, particularly, high-speed converged networking.
A crucial step in the evolution of the next generation data center is the
development of standards for the new technologies involved. That’s because
it’s only once these standards have been established that you can invest in next
generation technologies with the knowledge that any hardware you buy will be
compatible with other manufacturers’ products, protecting the value of your
investments and ensuring that you are not locked in with a particular vendor.
Here are three of the most important standards that are emerging for the
data centers of the future:

Data Center Bridging (DCB) and Converged Enhanced Ethernet (CEE)
10Gb/s Ethernet is one of the most signifcant enabling technologies for
next generation data centers, and it was standardized by the IEEE back in
2004. Fast Ethernet networking is important because it makes it possible
for you to use a single networking fabric to transport LAN, storage and
inter-process communication (IPC) traffc. This has a number of benefts,
including simplifying your data center infrastructure, reducing the amount
of hardware you need —including certain types of storage-specifc switch
-
es and host bus adapters (HBAs) — and reducing your administrative and
power and cooling costs.
But carrying the storage traffc that you currently transport on a dedicat
-
ed storage network over a conventional Ethernet network presents some
technical challenges: essentially you are asking an Ethernet network to
do something that it was never designed to do.
This problem prompted the development of a number of enhancements
to Ethernet to make it more suitable for use in data centers as a unifed
networking fabric. The set of network standards that are being defned
for these enhancements are called Data Center Bridging (DCB), and one
implementation of these emerging network standards defned by lead
-
ing networking companies, including Brocade, is known as “converged
enhanced Ethernet,” (CEE).

Saturday, 28 January 2012

Databases and Database Users


databases


n A Database: is a collection of related data.
n Database properties:
Ø It represents some aspect of the real world
[miniworld or Universe of Discourse (UoD)]
Ø It is a logically coherent collection of data with inherent meaning
Ø It is designed, built and populated with data for specific purpose

*** Some other properties :


n A Database can be of any size ranging from few number of records have hundreds or thousands bytes to gigabytes or terabytes
n A Database may be generated and managed manually or it may be computerized
n The computerized choice may be by a group of application programs implemented specifically for that application or by a:
Database Management System (DBMS)

Advantages of Using DBMS


* Controlling Redundancy
* Restricting Unauthorized Access
* Providing Persistent Storage
* Permitting Inferencing
* Providing Multiple User Interfaces
* Presenting Complex Relationship
* Enforcing Integrity Constraints
* Providing Backup and Recovery
People indirectly involved in DB
These people are not interested in the DB itself but they are providing the necessary environment for the DB users.
* DBMS system designers and implementers
The persons who design and implement the DBMS modules.
* Tool Developers
The persons who design the tools which enables DB users in design and use their DB
* Operators and Maintenance personnel
The persons responsible for running and marinating the software and hardware environment for the DB system.


about DBMS


DBMS is: a collection of programs that enables users to create and maintain a database
n It is a general-purpose software system enables us in Defining, Constructing and Manipulating DB:
Ø Defining: specifying the data types, structures and constraints
Ø Constructing: storing the data in the DB
Ø Manipulating: as querying, updating and generating reports
Database + DBMS ................. Database System

Example


Example
n University database: to maintain students, courses and grades.
n We may have five files:
Ø STUDENT
Ø COURSE
Ø SECTION
Ø PREREQUISITE
Ø GRADE_REPORT

the Advantages of Using DBMS


Advantages of Using DBMS


Advantages of Using DBMS
n Controlling Redundancy
n Restricting Unauthorized Access
n Providing Persistent Storage
n Permitting Inferencing
n Providing Multiple User Interfaces
n Presenting Complex Relationship
n Enforcing Integrity Constraints
n Providing Backup and Recovery

Some other benefits
n Enforcing Standards
n Reduced Application development time
n Flexibility
n Up-to-date Information
n Economies of Scale

When Not to Use a DBMS
n Unnecessary overhead costs
(high initial cost – Generality – overhead of capabilities)
n Database and applications are simple
n Stringent real-time requirements
n Multiple-user access is not required
Some Previous I talked about

n Database Administrator (DBA)
DBA administrates DB, DBMS, applications, user accessing authorization, monitoring and tuning.
n Database Designers
DB designers identify the data to be stored and its structure to efficiently fulfill all users requirements.
n End Users
Ø Casual end users:Occasionally access DB using sophisticated query language (Managers)
Ø Naive end users: Querying and updating DB using canned transactions (bank tellers, etc..)
Ø Sophisticated end users: familiar with DBMS capabilities and using it to implement their complex requirements (engineers, scientists, analysts, etc. )
Ø Stand-alone users: using ready-made packages and tools to handle their personal DB.
n System Analysts and Application Programmers
Analysts determine the users requirements and develop the appropriate transaction specifications.
Application programmers implement these requirements to programs.
Analysts + Programmers are called SOFTWARE ENGINEERS

Database Characteristics


These characteristics distinguish DB from File-processing approach:
n Self-Describing Nature of DB
Catalog to hold description(Data + Meta-data to describe the DB)
n Insulation between Programs and Data
program-data independence , program-operation independence
Data abstraction
n Support Multiple Views of Data
Multiple derived views – Virtual views
n Sharing Data and Multiuser Transaction Processing
Concurrency control for OLTP (On-Line Transaction Processing
those are the major properties for the databases from my opinion


People involved in DB

n Database Administrator (DBA)
DBA administrates DB, DBMS, applications, user accessing authorization, monitoring and tuning.
n Database Designers
DB designers identify the data to be stored and its structure to efficiently fulfill all users requirements.
n End Users
Ø Casual end users:Occasionally access DB using sophisticated query language (Managers)
Ø Naive end users: Querying and updating DB using canned transactions (bank tellers, etc..)
Ø Sophisticated end users: familiar with DBMS capabilities and using it to implement their complex requirements (engineers, scientists, analysts, etc. )
Ø Stand-alone users: using ready-made packages and tools to handle their personal DB.
n System Analysts and Application Programmers
Analysts determine the users requirements and develop the appropriate transaction specifications.
Application programmers implement these requirements to programs.
Analysts + Programmers are called SOFTWARE ENGINEERS