Advertising
Advertising

What Humans Can Learn from CPUs About Multitasking

What Humans Can Learn from CPUs About Multitasking

Multitasking

Nowadays, our minds and our computers are very busy, because we have more and more tasks to accomplish in the same amount of time. We are trying multitasking, but it seems human brains are simply not designed to operate that way! When you try to do two things at the same time, you know that is will not work long term, you can only focus on one thing at a time. That said, it is possible to deal with your tasks in a manner that appears simultaneous from the perspective of hours and days. This is effective multitasking, human edition.

We are now in multicore CPU era, but we can still remember the time that we had a single core CPU and yet had a multitasking environment. My old computer was able to play music, do some background calculations, and download a file from the Internet while I was writing a text at the same time. Multitasking operating system on a CPU that can do only one thing at a time: isn’t that exactly what we need? When we look how that has been achieved, there is a great lesson to be learned for humans.

Today, nearly all operating systems support preemptive multitasking, but there were early version of Microsoft Windows that were using cooperative multitasking, which didn’t work well. According to Wikipedia, “Preemptive multitasking involves the use of an interrupt mechanism which suspends the currently executing process and invokes a scheduler to determine which process should execute next.” Let us see what humans can learn about multitasking from that concept.

Advertising

Lesson 1: Task switch is costly

What happens when task switch is initiated? We need to save the context with the intention of resuming the task at a later time. Save the context, resume another task, voila! However, it is not that easy for CPUs and it is even harder for humans. Saving context takes time and also CPUs have data cache, which stores recently used data for very quick access and switching the task will need to flush some of the cache entries. It will require some additional time to put that data back into cache. You know it probably all too well—a message pops up on your desktop when you are fully focused and it sidetracks your thought process; some cache entries are gone and it will take you minutes to regain your performance level. Lesson number 1 for humans is task switches are very, very costly!

If you react to pop-ups, enter your social media “just for one minute”, and look into your e-mail inbox every minute or two, you know why your performance suffers: your brain has to constantly save and restore the context and your “cache” is never efficient.

Lesson 2: Time boxes

Preemptive operating systems use a concept of a time slice, which is the period for which a process is allowed to run. An interruption, usually coming from a clock, will initiate a task switch. If you have a PC or Mac, this is how your CPU operates most of the time! This concept works great for CPUs, but it works even better for humans: the “Pomodoro technique” is a great example of that. I set my countdown timer and focus on just one thing. It is so powerful that it revolutionized the working style of many people.

Advertising

I have all my data in very efficient cache, so my operation is very fast: I am avoiding task switches, but at the same I am sure that I will be able to accomplish all of my tasks, because my clock will tell me when to stop and/or switch. Every task switch is costly, and timeboxes are a great way to multitask effectively.

Lesson 3: Interval is carefully chosen

When using timeboxes, the main question is what intervals should I use? If it’s too short, we’ll use too much time on task switches, instead of the actual operation. When it’s too long, other tasks suffer. Can you imagine an operating system when task switch occurs every few seconds? That would be very unresponsive and annoying. The actual interval for our operating systems is usually several milliseconds.

With humans, the problem is more complex, because we are also getting tired. We cannot switch every minute, but three hours is also unrealistic; we would be very unresponsive, but also drained from energy at the same time. A good number to start with is “Pomodoro number”25 minutes—but your personal style, energy level, work demands will influence that. Experiment and see what interval works best for you. For CPUs and operating systems, that single number is one of the most important to determine whether it is going to be responsive and have a feeling of smooth multitasking.

Advertising

Lesson 4: Interrupt handling

We are constantly dealing with interruptions in our work and CPUs handle millions of interruptions as well. What makes us very different from operating systems is that their interruption handlers are usually very, very quick and they do not require a context switch. You received a phone call, you read an email, you read a short message, and you changed a tab in your browser “just to see one thing”. It was not an interruption; it was a context switch.

If we dealt with interruptions in a similar manner that CPUs, we would simply write down some information, acknowledge that we’ve received it and resume an operation. It’s just few seconds. If it was an interruption, you did not have to switch the context. Do we really need that many interruption sources?

Lesson 5: Priorities

In operating systems, tasks have their prioritieseven interruptions have them. When handling an interruption of priority X, usually all the others with priority equal to or lower than X are blocked. It is a great lesson for us, because in many cases everything is equally important (and urgent!) and this is why we can rarely accomplish anything.

Advertising

Summary

Humans are not CPUs. Our life is not about completing tasks effectively. We are spiritual beings; we have passion, emotions, relationships, and abstract thoughts. There is a great lesson that we can take from current CPUs and operating systems, however, and that is to multitask efficiently.

Try timeboxes to eliminate task switches, observe which intervals give you satisfaction and perception of effective multitasking, handle interrupts as interrupts should be handled and write down your priorities. When you think about multitasking, CPUs and operating systems are a great source of inspiration!

More by this author

Piotr Nabielec

Author, CEO, Consultant

How to Really Achieve Goals 8 Outlook Hints Everyone Should Know 7 Things Smart Learners Do Differently 10 Ways To Have Quality Sleep That You Probably Don’t Know 9 Things You Can Do To Completely Unleash Your Potentials

Trending in Productivity

1 Success In Reaching Goals Is Determined By Mindset 2 Have You Fallen Into the ‘Busy’ Trap? Here’s Your Way Out 3 How to Increase Brain Power, Boost Memory and Become 10X Smarter 4 Do You Want to Know the Secret to Living a Fulfilling Life? 5 6 People Management Tactics to Lead a Diverse Team to Success

Read Next

Advertising
Advertising

Last Updated on November 15, 2018

Success In Reaching Goals Is Determined By Mindset

Success In Reaching Goals Is Determined By Mindset

What do you think it takes to achieve your goals? Hard work? Lots of actions? While these are paramount to becoming successful in reaching our goals, neither of these are possible without a positive mindset.

As humans, we naturally tend to lean towards a negative outlook when it comes to our hopes and dreams. We are prone to believing that we have limitations either from within ourselves or from external forces keeping us from truly getting to where we want to be in life. Our tendency to think that we’ll “believe it when we see it” suggests that our mindsets are focused on our goals not really being attainable until they’ve been achieved. The problem with this is that this common mindset fuels our limiting beliefs and shows a lack of faith in ourselves.

The Success Mindset

Success in achieving our goals comes down to a ‘success mindset’. Successful mindsets are those focused on victory, based on positive mental attitudes, empowering inclinations and good habits. Acquiring a success mindset is the sure-fire way to dramatically increase your chance to achieve your goals.

Advertising

The idea that achieving our goals comes down to our habits and actions is actually a typical type of mindset that misses a crucial point; that our mindset is, in fact, the determiner of our energy and what actions we take. A negative mindset will tend to create negative actions and similarly if we have a mindset that will only set into action once we see ‘proof’ that our goals are achievable, then the road will be much longer and arduous. This is why, instead of thinking “I’ll believe it when I see it”, a success mindset will think “I’ll see it when I believe it.”

The Placebo Effect and What It Shows Us About The Power of Mindset

The placebo effect is a perfect example of how mindset really can be powerful. In scientific trials, a group of participants were told they received medication that will heal an ailment but were actually given a sugar pill that does nothing (the placebo). Yet after the trial the participants believed it’s had a positive effect – sometimes even cured their ailment even though nothing has changed. This is the power of mindset.

How do we apply this to our goals? Well, when we set goals and dreams how often do we really believe they’ll come to fruition? Have absolute faith that they can be achieved? Have a complete unwavering expectation? Most of us don’t because we hold on to negative mindsets and limiting beliefs about ourselves that stop us from fully believing we are capable or that it’s at all possible. We tend to listen to the opinions of others despite them misaligning with our own or bow to societal pressures that make us believe we should think and act a certain way. There are many reasons why we possess these types of mindsets but a success mindset can be achieved.

Advertising

How To Create a Success Mindset

People with success mindsets have a particular way of perceiving things. They have positive outlooks and are able to put faith fully in their ability to succeed. With that in mind, here are a few ways that can turn a negative mindset into a successful one.

1. A Success Mindset Comes From a Growth Mindset

How does a mindset even manifest itself? It comes from the way you talk to yourself in the privacy of your own head. Realising this will go a long way towards noticing how you speak to yourself and others around you. If it’s mainly negative language you use when you talk about your goals and aspirations then this is an example of a fixed mindset.

A negative mindset brings with it a huge number of limiting beliefs. It creates a fixed mindset – one that can’t see beyond it’s own limitations. A growth mindset sees these limitations and looks beyond them – it finds ways to overcome obstacles and believes that this will result in success. When you think of your goal, a fixed mindset may think “what if I fail?” A growth mindset would look at the same goal and think “failures happen but that doesn’t mean I won’t be successful.”

Advertising

There’s a lot of power in changing your perspective.

2. Look For The Successes

It’s really important to get your mind focused on positive aspects of your goal. Finding inspiration through others can be really uplifting and keep you on track with developing your success mindset; reinforcing your belief that your dreams can be achieved. Find people that you can talk with about how they achieved their goals and seek out and surround yourself with positive people. This is crucial if you’re learning to develop a positive mindset.

3. Eliminate Negativity

You can come up against a lot of negativity sometimes either through other people or within yourself. Understanding that other people’s negative opinions are created through their own fears and limiting beliefs will go a long way in sustaining your success mindset. But for a lot of us, negative chatter can come from within and these usually manifest as negative words such as can’t, won’t, shouldn’t. Sometimes, when we think of how we’re going to achieve our goals, statements in our minds come out as negative absolutes: ‘It never works out for me’ or ‘I always fail.’

Advertising

When you notice these coming up you need to turn them around with ‘It always works out for me!’ and ‘I never fail!’ The trick is to believe it no matter what’s happened in the past. Remember that every new day is a clean slate and for you to adjust your mindset.

4. Create a Vision

Envisioning your end goal and seeing it in your mind is an important trait of a success mindset. Allowing ourselves to imagine our success creates a powerful excitement that shouldn’t be underestimated. When our brain becomes excited at the thought of achieving our goals, we become more committed, work harder towards achieving it and more likely to do whatever it takes to make it happen.

If this involves creating a vision board that you can look at to remind yourself every day then go for it. Small techniques like this go a long way in sustaining your success mindset and shouldn’t be dismissed.

An Inspirational Story…

For centuries experts said that running a mile in under 4 minutes was humanly impossible. On the 6th May 1954, Rodger Bannister did just that. As part of his training, Bannister relentlessly visualised the achievement, believing he could accomplish what everyone said wasn’t possible…and he did it.

What’s more amazing is that, as soon as Bannister achieved the 4-minute mile, more and more people also achieved it. How was this possible after so many years of no one achieving it? Because in people’s minds it was suddenly possible – once people knew that it was achievable it created a mindset of success and now, after over fifty years since Bannister did the ‘impossible’, his record has been lowered by 17 seconds – the power of the success mindset!

Read Next