Browse Definitions :
Definition

wall time

What is wall time?

Wall time, also called real-world time, clock time, wall-clock time or -- more accurately -- elapsed real time, is the amount of time that a program or process takes to run from start to finish as measured by a person. Wall time is important because how a computer measures time and how it is perceived by the user may be different.

Computers measure time based on the CPU clock speed. Any given task will take a certain number of cycles to complete. Most computers run many different tasks each second. The CPU's time is split depending on the needs of the program.

In Linux and Unix, the amount of time that the program is running on the CPU is measured. This is called CPU time. Even though a program may be running for several real seconds, it may only show less than one second of CPU time because the computer was switching between other processes.

Additionally, modern multicore/multiprocessor CPUs can run several threads at once. This may mean that if a process can run on several threads at once it may use more CPU time than real time.

diagram illustrating the architecture of multicore processors
Multicore processors, which incorporate multiple processing units, can run several threads at once to use more CPU time than real (wall) time.

What influences wall time?

Many factors can influence how much real time a process takes to complete on a computer:

wall time is how a computer user experiences time
Wall time is the real-word time a user of a computer perceives time, which is often different than the computer itself.
  • CPU clock speed and instruction set.
  • How many other processes are running.
  • Waiting for disk I/O.
  • Waiting for network I/O.

If a process takes too much wall time to complete, the user may get impatient. They may think it has hung, frozen or timed out and shut down the process. For the best user experience, it is important to keep programs responsive and to prioritize the amount of wall time it takes over CPU time.

How is wall time minimized?

To illustrate, modern CPUs can operate at rates of about 5 GHz, or 5 billion operations in a second. For most end user computers, CPUs spend more time doing nothing than doing useful work. The CPU can usually process data faster than it can be read off a hard disk or from a network.

To minimize the wall time, some programs keep the data on the disk compressed and spend extra CPU time decompressing the data to keep the much slower process of reading the data off the disk to a minimum.

Some program monitoring and profiling tools give the option to show CPU time or wall time that a process takes. This can help users to optimize for one or the other depending on their needs.

Web page rendering wall time is an important factor for website development. If a website takes too long to load, the user may leave the site. Developers may minify the code, use optimized javascript, and minimize the amount of server calls needed.

Wall time and modern workloads

New workloads also require new methods to minimize the wall time taken for processes.

Video processing may uses dedicated video coprocessors to speed up certain codec encryption, such as Intel QuickSync, Nvidia NVENC, or the Apple silicon media engine.

Artificial intelligence (AI) and machine learning process may employ GPU processing or dedicated circuitry to run in seconds a process that may take minutes or hours on a traditional CPU.

For some life safety processes, such as in medical equipment or transportation safety equipment, having a deterministic and exact amount of wall time is important. In these cases, a real time operating system may be needed.

Explore CPUs vs. GPUs for AI workloads and see how improvements in CPU features help shape selection. Learn about real time operating systems and how they work in internet of things edge computing. Compare Red Hat vs. Ubuntu Linux distributions.

This was last updated in June 2023

Continue Reading About wall time

Networking
  • What is wavelength?

    Wavelength is the distance between identical points, or adjacent crests, in the adjacent cycles of a waveform signal propagated ...

  • subnet (subnetwork)

    A subnet, or subnetwork, is a segmented piece of a larger network. More specifically, subnets are a logical partition of an IP ...

  • Transmission Control Protocol (TCP)

    Transmission Control Protocol (TCP) is a standard protocol on the internet that ensures the reliable transmission of data between...

Security
CIO
  • What is a startup company?

    A startup company is a newly formed business with particular momentum behind it based on perceived demand for its product or ...

  • What is a CEO (chief executive officer)?

    A chief executive officer (CEO) is the highest-ranking position in an organization and responsible for implementing plans and ...

  • What is labor arbitrage?

    Labor arbitrage is the practice of searching for and then using the lowest-cost workforce to produce products or goods.

HRSoftware
  • organizational network analysis (ONA)

    Organizational network analysis (ONA) is a quantitative method for modeling and analyzing how communications, information, ...

  • HireVue

    HireVue is an enterprise video interviewing technology provider of a platform that lets recruiters and hiring managers screen ...

  • Human Resource Certification Institute (HRCI)

    Human Resource Certification Institute (HRCI) is a U.S.-based credentialing organization offering certifications to HR ...

Customer Experience
Close