August 29, 2008

Operating System : Non-Preemptive Shortest Job First(SJF)


CORRECTION FOR LAST SESSION:

 Example of Non-Preemptive SJF

 

Process            Arrival Time                 Burst Time

P1                                0.0                               7

P2                                2.0                               4

P3                                4.0                               1

P4                                5.0                               4

COMPUTATION FOR:

Average waiting time = (0 + 6 + 3 + 7)/4  = 4

            Note:

            1) Waiting Time P1 = 0 —— means it did not wait

            2) Waiting Time P2 = 6 ——- because it total waiting time based on the Gant Chart is 8 ms. But remember, it arrived 2 ms from the start of the CPU catering all processes, so  2 ms should be deducted from 8 ms, making it 6 ms only its waiting time.

            3) Waiting Time P3 = 3 —— based on the Gant Chart, it would appear 7 ms its waiting time, but remember it arrives 4 ms from the start of the CPU catering all processes, so  4 ms should be deducted from 7 ms, making it 3 ms only its waiting time.

            4) Waiting Time P4 = 7 —— based on the Gant Chart, it would appear 12 ms its waiting time, but remember it arrives 5 ms from the start of the CPU catering all processes, so  5 ms should be deducted from 12 ms, making it 7 ms only its waiting time.

Therefore,

AWT = P1 + P2 +P3 + P4 = (0 + 6 + 3 + 7)/4  = 4 ms

February 10, 2008

Knee Device!

WASHINGTON - Call it the ultimate power walk. Researchers have developed a device that generates electrical power from the swing of a walking person’s knee. With each stride the leg accelerates and then decelerates, using energy both for moving and braking.

Max Donelan and colleagues reasoned that a device that helps the leg decelerate could generate power without requiring much additional energy from the person.

It’s sort of like the way that some hybrid-electric cars produce electricity from braking.

With the device, a minute of walking can power a cell phone for 10 minutes, Donelan, of Simon Fraser University in Burnaby, British Columbia, said in a telephone interview. Other potential uses include powering a portable GPS locator, a motorized prosthetic joint or implanted drug pumps.

Donelan and colleagues at the University of Pittsburgh and the University of Michigan report development of the new device in Friday’s edition of the journal Science.

The first practical use for the generator is likely to be in producing power for artificial limbs, said Donelan, who with his co-authors has founded a company to develop the device commercially.

The generator weighs about 3.5 pounds so users do burn energy carrying it on their knee, but they don’t notice whether it is switched on or off when walking on a treadmill, he said.

However, they miss it when it’s removed because they get used to its extra braking action, he added.

With one generator on each knee, people walking on a treadmill were able to generate about 5 watts of power.

Lawrence C. Rome of the University of Pennsylvania called the development "extremely clever."

Other people have thought of rotational devices around joints, Rome said, "but what’s really clever is these guys only turn on resistance when person trying to brake, so it helps you."

Rome, who was not part of the research team, previously developed a backpack that generates electricity from the movement of the person carrying it.

The backpack was comfortable so it was an easy sell, he said. Whether the new knee generator is practical will depend on it being comfortable so people will want to wear it, he said in a telephone interview.

Arthur Kuo, an associate professor of mechanical engineering at the University of Michigan and a co-author of the report, called the device "a cocktail-napkin idea."

"There is power to be harvested from various places in the body, and you can use that to generate electricity. The knee is probably the best place," Kuo said in a statement. "During walking, you dissipate energy in various places, when your foot hits the ground, for example. You have to make up for this by performing work with your muscles. … We believe that when you’re slowing down the knee at the end of swinging the leg, most of that energy normally is just wasted."

The prototype is bulky, he said, but the energy generation part itself has very little effect on the wearer.

"We hope to improve the device so that it is easier to carry, and to retain the energy-harvesting capabilities," he said.

The research was funded by the National Sciences and Engineering Research Council of Canada, Michael Smith Foundation for Health Research and the Canadian Institute of Health Research.

January 5, 2008

MP4 watch

 

Ain’t your ordinary watch!

Wear your music and videos on your wrist with this amazing digital wrist watch! This fully functional digital wrist watch features 1 GB capacity with a 1.5-inch OLED true color screen! It supports MP3, WMA, and MP4 format with up to 8 hours of music playback, plus, itsupports JPEG format so you can look at pictures of you’re loved ones anytime!

This MP4 watch is thin and light with a comfortable rubber click watch strap that provides comfort for hours! Dial in the perfect sound via its five equalizer modes and Super Bass 3-D Sound Effect

Playback Modes! This is one cool watch! Order today!

1 GB MP4/MP3 USB Digital Wrist Watch!

General Features:

Stylish Black watch design Fully functional digital wrist watch (shows time and date)

1 GB memory capacity

1.5-inch OLED true color screen (128 x 128 pixel image)

260K color screen

Supports MP3, WMA, and MP4 format, up to 8 hours of music playback

Supports JPEG format, also displays lyrics and picture

High quality digital record, song circulation function and support for several languages

Five (5) Equalizer Modes

Super Bass 3-D Sound Effect Playback Modes

Thin and light

Comfortable rubber click watch strap

Specifications: Music Format: MP3/WMA

Video Format: SMV

MP3: 8K ~ 320K SNR: 88 dB

Audio Frequency: 20 Hz ~ 20 KHz

Interested on buying this stuff??? heres the link : http://www.geeks.com/details.asp?invtid=AD668&cat=GDT&cpc=GDTbsc

December 14, 2007

Security Alert Pop-up

Everytime I log on my yahoo account this "thing" always pops-out and its really getting on my nerve! Have you ever wondered what this pop-up thing do???

Here’s a short review.

Entering a non-secure Web site from a secure Web site

The Web site you were viewing was a secure site. A secure Web site provides secure communication and has a valid certificate. Secure communication means that information that you provide, such as your name or credit-card number, is encrypted so that it can’t be read or intercepted by other people. The certificate is a statement verifying the security of the site. A certificate contains information that a specific Web site is authentic. This ensures that no other site can assume the identity of the original site.

However, the Web site you are going to does not use a security protocol, so information you send and receive will not be protected. And since the site does not have a certificate, you cannot be sure that the site is who it says it is.
Given what you know about this Web site and your computer, you must decide whether to view this site.
If you do not feel confident about viewing this site, click No.

November 29, 2007

Ashop Commerce

Electronic commerce is offering another fast and easy online business. It highlights selling and buying products online through its specially designed software. This caters to the needs of the online shoppers and sellers.

The good thing about this website is, it does not require html or programming knowledge which means a beginner can basically use this site in other words it’s a friendly user site. There’s more! This site also provide shorter development time and less of your business expense.

-10 minute store setup

-No software to install

-No programming skills needed

-Hundreds of pre-programmed ecommerce software features.

-Change the look of your site with one clock.

-Tutorial movies for every software function

-Complete user manual and knowledge base

-Instant help buttons next to every feature

-Live chat technical support from admin panel

Its easy access is derived from the website where it demonstrate samples and guides. It also offers experts whose help and guidance will let you decide and eventually invest in this online business. Your time, money and effort will not be put to waste because of the benefits you are going to have in investing this online shopping cart. The best place for buyers and shoppers. Walk around and learn more about shopping cart software.