Wednesday, April 16, 2014

How to Choose an Online Backup Service


This week I have been testing the various online backup services, both paid and free, and here’s a summary of how these service compare against each other.

 

Why use an online backup service?

While it is easy to create a local backup of userr computer, the physical media where user are storing the backups, like the DVDs or external disk, may not be very reliable in the long term. The other disadvantage is that local backups don’t always happen in real-time.
It is therefore recommended that user switch to an online backup service – these are inexpensive and will automatically copy userr computer’s data over the Internet to a more secure off-site location (aka the data center) in near real-time without userr involvement.
 

Online Backup Services with Free Storage

If user only have a limited amount of data (< 2 GB) on userr computer that user want to store in the cloud, any of the following backup services should solve userr problem without user having to shell out a penny.
All the above online backup services (except for SkyDrive) work in a similar way – user get a small client to userr desktop, mark the local folders that user want to backup online and the tool will automatically monitor and upload files from these folders to the cloud. Once userr files are backed up, user can also access them online except in Mozy.
Of all these services, my favorites are SugarSync and ZumoDrive. They offer almost an identical set of features and are extremely easy to configure. SugarSync is available for Mac and Windows while ZumoDrive also offers a Linux client.
While Dropbox is also an awesome service for file synchronization and online backup, it has one major limitation – it will only backup files and folders that are placed inside the Dropbox folder. Hopefully this will change in future versions.

Subscription Based Online Backup Services

When 2 GB is insufficient to store the massive number of photographs, emails, documents and other important files that are piled up on userr hard drive, user can go for a subscription based service. Here are some good options along with their pros and cons.
1. Backblaze (tour) – The true ‘set it and forget it’ backup service
  • Extremely easy to setup. The service will automatically backup userr entire computer excluding folders that contain the OS and userr applications.
  • If user create a new folder on userr computer, user don’t have to remember to add it to the backup queue.
  • The option to restore files from the backup could have been a bit simpler.
2. Carbonite (tour) – Makes data recovery really simple
  • Colored dots on userr files and folders indicate the status of userr backup at a glance. No dot means the file is not selected for backup.
  • You can remote access userr backups from anywhere using the browser and there are apps for iPhone and BlackBerry.
  • The restore function in Carbonite is done pretty nicely and user can recover files using Windows Explorer itself.
  • Carbonite’s web interface is clean but their desktop client looks old and a bit untidy.
3. Mozy (tour) -  The original cloud backup service
  • Mozy will automatically group userr files and folders into “sets” like documents, emails, photos, music, etc. so it becomes easy for user to select stuff that user want to backup online.
  • In addition to online backup, the more recent version of Mozy can also back up userr data to an external disk.
  • Mozy offers quite a few easy ways to restore files from the backup.
4. iDrive (tour) – For quick and easy backups
  • When user start iDrive, it offers a folder tree of userr computer – just select the folders that user want to backup online and user’re done.
  • You can also add files and folders to the backup queue with a simple right click inside Windows Explorer.
  • You can restore data through the iDrive desktop client. Individual files and folders can also be recovered from iDrive’s website.
  • Their Family plan can help user backup multiple computers to a single IDrive account.
5. CrashPlan (tour) – One backup service for all platforms
  • With CrashPlan, user can easily backup userr files to multiple locations including the cloud, to another folder on the same hard-disk, to other computer on userr home network or to any other Internet connected computer (social backup).
  • The desktop client is intuitive and won’t confuse user with a plethora of options.
  • CrashPlan is among the very few online backup services that’s available on all platforms including Windows, Mac and Linux.
6. Jungle Disk (tour) – Metered online storage
  • Jungle Disk uses Amazon S3 for data storage.
  • You can use a single license to backup multiple computers.
  • Jungle Disk supports Windows, Mac and Linux.
7. SugarSync (tour) – Access userr backups from any mobile device
  • SugarSync works in near real-time and will immediately back up any file changes that are made in one of the monitored folders.
  • You can easily access userr backups over the web or from any of userr mobile devices through apps.
  • SugarSync is not integrated with Windows Explorer and therefore it is a bit cumbersome to add new folders for backup.
8. ZumoDrive (tour) – Simple and elegant
  • ZumoDrive is extremely easy to configure – just right click any folder on userr computer and add it to the ZumoDrive cloud.
  • Restoring files from ZumoDrive may involve some effort. It offers ZIP archives of userr folders that user’ll have to manually extract to the right locations.

Online Backup Services Compared

The following chart compares the cost, available storage and other essential features of all the previously mentioned online backup services.
Which Online Backup Service Should You Use?
If user are looking for an extremely simple way to backup userr entire Mac or Windows PC without having to select individual files and folders, go with BackBlaze. It offers unlimited storage and requires no configuration but restoring data from BackBlaze is not very convenient.
SugarSync is another brilliant option for creating online backups as it works across multiple computers (and platforms) and user can access userr data on a variety of devices. However, if user have loads of data to backup, SugarSync can get a bit pricey.
The backup service that has impressed me the most is CrashPlan – it’s available for Mac, Windows and Linux. What’s unique about CrashPlan is that it also can create local backups on other computers that are either owned by user or userr friends. Thus data restoration will become extremely fast in the event of a hard disk failure because user won’t have to get backups from the Internet.
The downside with CrashPlan is that it doesn’t offer web access to userr backups. If user see this as a limitation, go with Carbonite. It integrates very nicely with Windows Explorer, user can backup any file or folder with a simple right-click and all userr files can accessed over the web anytime, anywhere. Data restoration is also easy with Carbonite.
Read More..

Tuesday, April 15, 2014

Video X10 Does Google Goggles

Sony Ericsson havent bene having a good time of it lately with Satio having been briefly pulled from sale, doubts been cast over Aino and the recent news that Satio pumps out more radiation than any other UK handset. However, one bright spot still shining for the company is the forthcoming X10, their first Android handset. Someone got Google Goggles up and running on it and it does look dashed smart! The huge screen really does it justice and remember Google Goggles is still a beta product! Take a peek at the video.





(Author: Serge Novikov Source: IntoMobile via SE-NSE)
Read More..

Monday, April 14, 2014

An RGB Laser And Its Applications

By Cornelia White


An RGB laser is that beam source that emits red, green and blue lights in form of laser beams either as a separate beam for each color or a combination of all the three colors in one beam. Through the process of additive color mixing which is achieved through combination of these lights, a number of many other lights can be obtained.

Arc lamp sources are now being replaced with RGB lasers for light emissions, particularly given that they are much better when it comes to performance as compared to the arc lamp beamers. Arc lamp beamers are known to be the cheaper alternatives but they have limited lifetime, poor image quality and impossibility to achieve high wall-plug efficiency.

Beams from these sources are known to be coherent in both wavelengths, both in time and space allowing for inferences. If the change in phase properties is able to take place at the same time over a long distance and at the same period of time, then such waves will produce a very clear image. It is possible to cancel such waves with a similar with opposite phase.

These lasers are known to produce beams of the three primary colors with very narrow optical bandwidth making them close to the monochromatic light beams. They are thus capable of producing very clear images on mixing, the reason why they are getting more application like in cathode tube displays, color printers and lamp-based beamers.

RGB sources however suffer from a major setback given that the power level that is emitted is usually of low level. Most cinema projectors for instance require up to 10 W per color or even more. This level of power sufficiency, maturity or even cost effectiveness is still beyond the existing RGB scanners. When it comes to beam quality, these machines have to operate with high quality beams for them to perform effectively.

This are at times fitted with power-modulators particularly in the instances where the use of optical modulators is not practical due to low-power miniature devices. This is done to achieve better signals and laser diodes are used in most of the occasions. These particular diodes help achieve increased bandwidth to tens or hundreds of megahertz which in turns significantly improves resolutions.

There are many methods of constructing RGB lasers. Three lasers with each emitting a particular light of a wanted color is for instance an approach that has been used for long. These visible light beams are however limited in performance as compared to those that are infrared based.

The other method is the use of an infrared solid-state laser where a single near-infrared laser generate a single color that then undergoes through different stages of nonlinear frequency conversion to produce the three colored beams. There are many other schemes of producing the desired wave lengths such as through combination of parametric oscillators, some frequency mixers and even frequency doublers in addition to other methods.

Technological advancement is however set to completely address the challenges in with an RGB laser. Just like other forms of lasers, they are set to be used in all other areas where there are need for lasers like in hospital machines, cutting technology and in entertainment industry among others.




About the Author:



Read More..

Sunday, April 13, 2014

Construction Project Manager Software Is Effective And Easy

By Jeannie Chapman


A good number building superintendents have no knowledge of Construction Project Manager Software. They developed that old way. Everything was accomplished with a note pad and pencil and perhaps a ledger sheet and piece of paper. However, as jobs got larger and much more complex they soon realized the need for improved control.

Today, there is specially crafted software to help superintendents control all aspects of their jobs. Since every project is unique the program helps him to easily manage all aspects of the job using predefined templates. In most cases they realize more profit and a better job in the end.

Moreover, the scheduling of tasks and resources has become much easier too. These predefined templates help the manager key-in on specific budgets and goals. In other words, all they have to do is key in their budgeted amounts and the software does the rest.

It is going to advise them the amount of labor to consider each category along with the level of material would be called for. By doing this, whenever a subcontractor provides them with a price they understand immediately when the prices are in their budget. Otherwise, the manager can inform the subcontractor what he is able to spend for a task. When the subcontractor agrees to it they can proceed with the task without hassle.

The material prices can be simply compared now due to this great software. When the program suggests 100 bits of a product with a certain price this task manager compares those recommendations at different supply shops. Normally this save lots of money in the long run and this is why programs like this one have become accepted.

Its all about accuracy and speed nowadays. This kind of program makes the pre-planning stages go easier and the initial bidding stages go faster and more accurate. Contractors used to agonize in the evening gathering prices and determining schedules. Paperwork would get lost and they have to start over. Prices would unexpectedly rise.

That has all change now due to improvements in computer software design and development. The PM software reports what materials are necessary in every single category and assists the manager keep an eye on precisely what is being spent. A few of the programs can also identify the prices as well as cost of labor by Zip-code. That is one incredible feature to own.

Meaning that the contractor can invest in jobs regardless of where the contracts are located. She or he may also build inside a certain number of waste for any category. Lots of money is wasted when resources are improperly used. The contractor can easily take care of the problem daily. The days of expensive materials going in the burn pile are over.

In summary, Construction Project Manager Software does everything a builder needs. It helps them plan, schedule, budget, and distribute resources. Keeping track of hours, materials, and budgets truly saved money.




About the Author:



Read More..

Saturday, April 12, 2014

An Insight Into Project Management Software For Architects And Engineers

By Jeannie Chapman


When running a practice, there are lots of things that need to be handled. Organizing tasks and keeping track of various items can be both overwhelming and time consuming. To help your operations run smoothly and download up some of your time, you could use project management software for architects and engineers. Such tools have many advantages.

Youll be able to integrate many areas of your operations. These include portals, time sheets, email and calendar. This way, youll not only be able to communicate with easer, but also keep track of the progress those working under you.

Since it does most of the organization for you, youll be able to spend more time working. This will enable you progress faster through the tasks at hand, keeping you ahead of schedule. Its also possible to use the program for many projects.

Because online project management software is based on the internet, its possible to link up from any computer that has access. This accords one mobility at their fingertips. Most programs also come with their own mobile applications, which makes it possible to access the details from various smartphones. This can be a useful feature if youre travelling and need to check up on something. It could also be beneficial for those who work from home at times.

The scalability feature makes it capable of evolving with the entity. This eliminates any worries about the need to stay abreast with increases in demand. There is no need to scale back to meet the softwares needs since it is able to match continued project growth.

The program also makes it possible for one to update their project at any moment from any location. Since everything is readily accessible, it helps one keep the project details updated. This is helpful for those people who deal with tasks that are dynamic in nature.

However, these benefits would not be realized if one doesnt use the program properly. So how do you choose the right solution for your practice? First, you need to conduct an analysis of your needs. This will help you determine the particular features you need from the program. As such, youll be able to select one that augments well with what you require.

User friendliness is another important feature. Go for an intuitive solution that goes alongside your operations. You could also have some features customized if you have not found one that matches all needs. Have the special fields and categories modified or inserted to match your firms needs.

Brainstorm with your employees to enable you select these features. Consult those who will be constantly using the program so that you are able to select one which has a good fit. Your needs will be well met if your staff is involved in the selection process.

Make sure that the program augments well with vital apps like email. You can do this by checking the integration features of the program. Ensure that it interacts well with those apps that are commonly used within your firm.

Select project management software for architects and engineers which offers good community and vendor support. This is essential because youll be able to consult fellow users for advice whenever queries arise. The vendor should also be able to provide real-time support for any updates as well as troubleshooting.




About the Author:



Read More..

Friday, April 11, 2014

Tips On Cloud Service Providers Chicago

By Jayne Rutledge


Cloud computing has gained a footing in the business world in the last few years. Successful adoption of these tasks is however pegged on the ability of a client to hire the right cloud service providers Chicago. By passing the procurement process could see a firm choose the wrong company as important details may not be considered during hiring.

View the process as the same as any other process that could be followed when locating a provider. The search for an IT firm is often accompanied by the assessment of a combination of different factors. All these are factors that must be considered in this type of computing as well.

Just like is the case when sourcing for an IT task, it will be important to assess what the business needs. Without a careful assessment of what applications are required, and by which department, the process may be unable to proceed further. Ensure you have a careful understanding of what is required by each department within the firm.

IT is governed by the successful adoption of one or more of the existing IT frameworks. A company should be able to identify a framework that works for it and then gear towards its implementation in the firm systems. Only the needed parts should be adopted as opposed to adopting all that is available.

You will also need to make sure that data and apps are classified. This should be classified based on their importance to the firm. You must also ensure that all the right parameters are in place to guide the data classification. When classified, it means that unauthorized individuals cannot access it.

It is important for any company to have a customized procurement process. This is the process that will be followed by the firm managers and other professionals when sourcing for any task providers. The procurement process should also be built in such a way that it is very easy to comply with and follow at all times.

Management and negotiation of contracts will be a very important asset. The contract you manage will often determine the services that will be provided to you. Ensure you manage a good contract that does not result in a lock in situation for you.

A CSP will often set its own conditions when working with a client. It is upon the client to make sure that he carefully considers the conditions that have been set by the CSP and then determine when to accept them. If the CSP is not willing to negotiate the terms, you could consider going in via use of an integrator.

All responsibilities must be carefully shared out. It is often possible to outsource the processing, but responsibility cannot be outsourced. Ensure you have a clear division of what each party is responsible for in terms of actions and tasks that must be executed by each party.

When looking for cloud service providers Chicago clients should perform their own certification of a CSP. The certification will include making sure that it has complied with all the set requirements for the tasks that it is to offer. Through certification, the business is able to determine whether the CSP is really in a position to offer the tasks it says it can offer.




About the Author:



Read More..

Thursday, April 10, 2014

Search Sub String individual

Q. Write a C program to accept two string from user, first is main string and second is searching sub string from main string, and count how many times its repeat individual in main string.
OR
Q. WAP to accept two string and find out how many times individual sub-string found in main string.


For example:


First main string: This is a good program
Second search string: is
Result: 1


Ans.


/*c program for search sub string from main string and counting how many times its repeat individual*/
#include<stdio.h>
#include<conio.h>
#include<string.h>
int main()
{
 int i,j,count=0;
 char str[40],fstr[10];
 printf("Enter main string: ");
 gets(str);
 printf("Enter sub string: ");
 gets(fstr);
 for(i=0; str[i]!=
Read More..

Can The New SBA Administrator Aid CFO Services

By Robbie Sutter


Business owners tend to rely on a number of different aspects in order to move forward, one of them being loans. One might think that these are easy to come across but the truth of the matter is that there are a number of regulations that can impede such efforts. Can the appointment of a new administrator for the Small Business Administration help matters? I have to believe that, if successful, this will lead CFO services to be much more beneficial for companies that would like to utilize them.

The Republic put up a story that talked about the hiring of a new Small Business Administration administrator by President Barack Obama. The individual who was hired for the job was Maria Contreras-Sweet, who previously worked for the California Business, Transportation and Housing Agency. In addition, she was part of ProAmerica Bank for many years. Its apparent that she has a tremendous background to consider and it is because of her experience that small and medium-sized businesses stand a chance of being assisted in the biggest of ways.

The previous year was a troubling one when considering the interactions of small businesses and the SBA. The goals of the SBA were not met on time and companies were not left in the best of financial shape. Its clear that the business world possesses an element of trust; if goals are put forth and are not being met on time, chances are that individuals will be hesitant to interact with those entities again. Without much room for businesses or job openings, its easy to see why the SBA has struggled.

With the background that Contreras-Sweet possesses, its clear that she stands a chance of tackling the current challenges associated with the SBA. The Republic made note of the troubles of companies that have been trying to attain loans, leaving businesses less than confident on the federal side of things. This is just one of the reasons why this story is one that should have the attention of organizations the likes of CFO Consulting Services. That being said, if Contreras-Sweet can approach the SBAs current problems with a clear idea, maybe CFO services can benefit from it.

The best course of action that Contreras-Sweet can go about now, from what I have seen, is simply attempt to ease the problems that exist within SBA. Its out of the question to think that issues in the way of finances are going to be solved in a day, which is why the process has to be gradual. Improvements have to be seen so that companies can observe and determine whether they can put their trust in the SBA again. Hopefully this will happen sooner as opposed to later.




About the Author:



Read More..

Tuesday, April 8, 2014

UNIX CONCEPTS


MEMORY MANAGEMENT


1.      What is the difference between Swapping and Paging?
Swapping:      
Whole process is moved from the swap device to the main memory for execution. Process size must be less than or equal to the available main memory. It is easier to implementation and overhead to the system. Swapping systems does not handle the memory more flexibly as compared to the paging systems.
      Paging:          
Only the required memory pages are moved to main memory from the swap device for execution. Process size does not matter. Gives the concept of the virtual memory.
It provides greater flexibility in mapping the virtual address space into the physical memory of the machine. Allows more number of processes to fit in the main memory simultaneously. Allows the greater process size than the available physical memory. Demand paging systems handle the memory more flexibly.

2.      What is major difference between the Historic Unix and the new BSD release of Unix System V in terms of Memory Management?
Historic Unix uses Swapping – entire process is transferred to the main memory from the swap device, whereas the Unix System V uses Demand Paging – only the part of the process is moved to the main memory. Historic Unix uses one Swap Device and Unix System V allow multiple Swap Devices.

3.      What is the main goal of the Memory Management?
Ø  It decides which process should reside in the main memory,
Ø  Manages the parts of the virtual address space of a process which is non-core resident,
Ø  Monitors the available main memory and periodically write the processes into the swap device to provide more processes fit in the main memory simultaneously.

4.      What is a Map?
A Map is an Array, which contains the addresses of the free space in the swap device that are allocatable resources, and the number of the resource units available there.
 
 Address         Units

    1               10,000


This allows First-Fit allocation of contiguous blocks of a resource. Initially the Map contains one entry – address (block offset from the starting of the swap area) and the total number of resources.
      Kernel treats each unit of Map as a group of disk blocks. On the allocation and freeing of the resources Kernel updates the Map for accurate information.

5.      What scheme does the Kernel in Unix System V follow while choosing a swap device among the multiple swap devices?
Kernel follows Round Robin scheme choosing a swap device among the multiple swap devices in Unix System V.

6.      What is a Region?
A Region is a continuous area of a process’s address space (such as text, data and stack). The kernel in a ‘Region Table’ that is local to the process maintains region. Regions are sharable among the process.

7.      What are the events done by the Kernel after a process is being swapped out from the main memory?
When Kernel swaps the process out of the primary memory, it performs the following:
Ø  Kernel decrements the Reference Count of each region of the process. If the reference count becomes zero, swaps the region out of the main memory,
Ø  Kernel allocates the space for the swapping process in the swap device,
Ø  Kernel locks the other swapping process while the current swapping operation is going on,
Ø  The Kernel saves the swap address of the region in the region table.

8.      Is the Process before and after the swap are the same? Give reason.
Process before swapping is residing in the primary memory in its original form. The regions (text, data and stack) may not be occupied fully by the process, there may be few empty slots in any of the regions and while swapping Kernel do not bother about the empty slots while swapping the process out.
      After swapping the process resides in the swap (secondary memory) device. The regions swapped out will be present but only the occupied region slots but not the empty slots that were present before assigning.
While swapping the process once again into the main memory, the Kernel referring to the Process Memory Map, it assigns the main memory accordingly taking care of the empty slots in the regions.

9.      What do you mean by u-area (user area) or u-block?
This contains the private data that is manipulated only by the Kernel. This is local to the Process, i.e. each process is allocated a u-area.

10.   What are the entities that are swapped out of the main memory while swapping the process out of the main memory?
All memory space occupied by the process, process’s u-area, and Kernel stack are swapped out, theoretically.
Practically, if the process’s u-area contains the Address Translation Tables for the process then Kernel implementations do not swap the u-area.

11.   What is Fork swap?
      fork() is a system call to create a child process. When the parent process calls fork() system call, the child process is created and if there is short of memory then the child process is sent to the read-to-run state in the swap device, and return to the user state without swapping the parent process. When the memory will be available the child process will be swapped into the main memory.

12.  What is Expansion swap?
            At the time when any process requires more memory than it is currently allocated, the Kernel performs Expansion swap. To do this Kernel reserves enough space in the swap device. Then the address translation mapping is adjusted for the new virtual address space but the physical memory is not allocated. At last Kernel swaps the process into the assigned space in the swap device.  Later when the Kernel swaps the process into the main memory this assigns memory according to the new address translation mapping.

13.  How the Swapper works?
            The swapper is the only process that swaps the processes. The Swapper operates only in the Kernel mode and it does not uses System calls instead it uses internal Kernel functions for swapping. It is the archetype of all kernel process.

14.  What are the processes that are not bothered by the swapper? Give Reason.
Ø  Zombie process: They do not take any up physical memory.
Ø  Processes locked in memories that are updating the region of the process.
Ø  Kernel swaps only the sleeping processes rather than the ‘ready-to-run’ processes, as they have the higher probability of being scheduled than the Sleeping processes.

15.  What are the requirements for a swapper to work?
            The swapper works on the highest scheduling priority. Firstly it will look for any sleeping process, if not found then it will look for the ready-to-run process for swapping. But the major requirement for the swapper to work the ready-to-run process must be core-resident for at least 2 seconds before swapping out. And for swapping in the process must have been resided in the swap device for at least 2 seconds. If the requirement is not satisfied then the swapper will go into the wait state on that event and it is awaken once in a second by the Kernel.

16.  What are the criteria for choosing a process for swapping into memory from the swap device?
            The resident time of the processes in the swap device, the priority of the processes and the amount of time the processes had been swapped out.

17.  What are the criteria for choosing a process for swapping out of the memory to the swap device?
Ø  The process’s memory resident time,
Ø  Priority of the process and
Ø  The nice value.

18.  What do you mean by nice value?
      Nice value is the value that controls {increments or decrements} the priority of the process. This value that is returned by the nice () system call. The equation for using nice value is:
Priority = (“recent CPU usage”/constant) + (base- priority) + (nice value)
Only the administrator can supply the nice value. The nice () system call works for the running process only. Nice value of one process cannot affect the nice value of the other process.

19.  What are conditions on which deadlock can occur while swapping the processes?
Ø  All processes in the main memory are asleep.
Ø  All ‘ready-to-run’ processes are swapped out.
Ø  There is no space in the swap device for the new incoming process that are swapped out of the main memory.
Ø  There is no space in the main memory for the new incoming process.

20.  What are conditions for a machine to support Demand Paging?
Ø  Memory architecture must based on Pages,
Ø  The machine must support the ‘restartable’ instructions.

21.  What is ‘the principle of locality’?
It’s the nature of the processes that they refer only to the small subset of the total data space of the process. i.e. the process frequently calls the same subroutines or executes the loop instructions.

2  22.  What is the working set of a process?
The set of pages that are referred by the process in the last ‘n’, references, where ‘n’ is called the window of the working set of the process.

    23.  What is the window of the working set of a process?
The window of the working set of a process is the total number in which the process had referred the set of pages in the working set of the process.

2   24.  What is called a page fault?
Page fault is referred to the situation when the process addresses a page in the working set of the process but the process fails to locate the page in the working set. And on a page fault the kernel updates the working set by reading the page from the secondary device.

2   25.  What are data structures that are used for Demand Paging?
            Kernel contains 4 data structures for Demand paging. They are,
Ø  Page table entries,
Ø  Disk block descriptors,
Ø  Page frame data table (pfdata),
Ø  Swap-use table.

26.  What are the bits that support the demand paging?
Valid, Reference, Modify, Copy on write, Age. These bits are the part of the page table entry, which includes physical address of the page and protection bits.

Page address

Age
Copy on write
Modify
Reference
Valid
Protection

27.  How the Kernel handles the fork() system call in traditional Unix and in the System V Unix, while swapping?
            Kernel in traditional Unix, makes the duplicate copy of the parent’s address space and attaches it to the child’s process, while swapping. Kernel in System V Unix, manipulates the region tables, page table, and pfdata table entries, by incrementing the reference count of the region table of shared regions.

28.  Difference between the fork() and vfork() system call?
            During the fork() system call the Kernel makes a copy of the parent process’s address space and attaches it to the child process.
      But the vfork() system call do not makes any copy of the parent’s address space, so it is faster than the fork() system call. The child process as a result of the vfork() system call executes exec() system call. The child process from vfork() system call executes in the parent’s address space (this can overwrite the parent’s data and stack ) which suspends the parent process until the child process exits.

29.  What is BSS(Block Started by Symbol)?
            A data representation at the machine level, that has initial values when a program starts and tells about how much space the kernel allocates for the un-initialized data. Kernel initializes it to zero at run-time.

30.  What is Page-Stealer process?
            This is the Kernel process that makes rooms for the incoming pages, by swapping the memory pages that are not the part of the working set of a process. Page-Stealer is created by the Kernel at the system initialization and invokes it throughout the lifetime of the system. Kernel locks a region when a process faults on a page in the region, so that page stealer cannot steal the page, which is being faulted in.

31.  Name two paging states for a page in memory?
The two paging states are:
Ø  The page is aging and is not yet eligible for swapping,
Ø  The page is eligible for swapping but not yet eligible for reassignment to other virtual address space.

32.  What are the phases of swapping a page from the memory?
Ø  Page stealer finds the page eligible for swapping and places the page number in the list of pages to be swapped.
Ø  Kernel copies the page to a swap device when necessary and clears the valid bit in the page table entry, decrements the pfdata reference count, and places the pfdata table entry at the end of the free list if its reference count is 0.

33.  What is page fault? Its types?
            Page fault refers to the situation of not having a page in the main memory when any process references it.
There are two types of page fault :
Ø  Validity fault,      
Ø  Protection fault.

34.  In what way the Fault Handlers and the Interrupt handlers are different?
            Fault handlers are also an interrupt handler with an exception that the interrupt handlers cannot sleep. Fault handlers sleep in the context of the process that caused the memory fault. The fault refers to the running process and no arbitrary processes are put to sleep.

35.  What is validity fault?
If a process referring a page in the main memory whose valid bit is not set, it results in validity fault.
      The valid bit is not set for those pages:
Ø  that are outside the virtual address space of a process,
Ø  that are the part of the virtual address space of the process but no physical address is assigned to it.

36.  What does the swapping system do if it identifies the illegal page for swapping?
If the disk block descriptor does not contain any record of the faulted page, then this causes the attempted memory reference is invalid and the kernel sends a “Segmentation violation” signal to the offending process. This happens when the swapping system identifies any invalid memory reference.

37.  What are states that the page can be in, after causing a page fault?
Ø  On a swap device and not in memory,
Ø  On the free page list in the main memory,
Ø  In an executable file,
Ø  Marked “demand zero”,
Ø  Marked “demand fill”.

38.  In what way the validity fault handler concludes?
Ø  It sets the valid bit of the page by clearing the modify bit.
Ø  It recalculates the process priority.

39.  At what mode the fault handler executes?
            At the Kernel Mode.

40.  What do you mean by the protection fault?
            Protection fault refers to the process accessing the pages, which do not have the access permission. A process also incur the protection fault when it attempts to write a page whose copy on write bit was set during the fork() system call.

41.  How the Kernel handles the copy on write bit of a page, when the bit is set?
            In situations like, where the copy on write bit of a page is set and that page is shared by more than one process, the Kernel allocates new page and copies the content to the new page and the other processes retain their references to the old page. After copying the Kernel updates the page table entry with the new page number. Then Kernel decrements the reference count of the old pfdata table entry.
      In cases like, where the copy on write bit is set and no processes are sharing the page, the Kernel allows the physical page to be reused by the processes. By doing so, it clears the copy on write bit and disassociates the page from its disk copy (if one exists), because other process may share the disk copy. Then it removes the pfdata table entry from the page-queue as the new copy of the virtual page is not on the swap device. It decrements the swap-use count for the page and if count drops to 0, frees the swap space.

42.  For which kind of fault the page is checked first?
            The page is first checked for the validity fault, as soon as it is found that the page is invalid (valid bit is clear), the validity fault handler returns immediately, and the process incur the validity page fault. Kernel handles the validity fault and the process will incur the protection fault if any one is present.

43.  In what way the protection fault handler concludes?
            After finishing the execution of the fault handler, it sets the modify and protection bits and clears the copy on write bit. It recalculates the process-priority and checks for signals.

44.  How the Kernel handles both the page stealer and the fault handler?
The page stealer and the fault handler thrash because of the shortage of the memory. If the sum of the working sets of all processes is greater that the physical memory then the fault handler will usually sleep because it cannot allocate pages for a process. This results in the reduction of the system throughput because Kernel spends too much time in overhead, rearranging the memory in the frantic pace.   

Read More..