ArticleslgStudy

computer science

Colin Percival

Colin Percival is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Colin Percival rather than just read about it. In short: Colin A. Percival (born c. 1980) is a Canadian computer scientist and computer security researcher.

Colin Percival — main illustration
Colin Percival — illustration

Key takeaways

  • Colin Percival belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Colin Percival to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Colin Percival from memory before moving on to harder problems.

Reference excerpt

Colin A. Percival (born c. 1980) is a Canadian computer scientist and computer security researcher. He completed his undergraduate education at Simon Fraser University and a doctorate at the University of Oxford. While at university he joined the FreeBSD project, and achieved some notoriety for discovering a security weakness in Intel's hyper-threading technology. Besides his work in delta compression and the introduction of memory-hard functions, he is also known for developing the Tarsnap online backup service, which became his full-time job. In November 2023, he became FreeBSD's release engineering lead.

Education Percival began taking mathematics courses at Simon Fraser University (SFU) at age 13, as a student at Burnaby Central Secondary School. He graduated from Burnaby Central and officially enrolled at SFU in 1998. At SFU he studied number theory under Peter Borwein, and competed in the William Lowell Putnam Mathematical Competition, placing in the top 15 in 1998 and as a Putnam Fellow (in the top six) in 1999. From 1998 to 2000 he ran the PiHex project, organizing contributors from all over the world to help calculate specific bits of pi. Percival graduated from SFU in 2001 and was awarded a Commonwealth Scholarship to the University of Oxford. In Oxford, Percival set out to do research in distributed computing, building on his experience with PiHex. When a serious illness in 2003 interrupted this work for months, he turned his attention to the problem of building a software update system for the FreeBSD operating system. At the time, FreeBSD updates were distributed only as source code patches, making it difficult to keep systems updated. After a commenter on a mailing list suggested using xdelta to reduce the size of the files to be transferred, Percival began working on a more efficient delta compression algorithm. This new algorithm, called bsdiff, became the new focus of his doctoral research, and later a widely used standard, and his freebsd-update became a part of FreeBSD. In 2004 he contributed portsnap, which uses bsdiff to distribute snapshots of the FreeBSD ports tree. His 2006 doctoral thesis, supervised by William F. McColl and Richard P. Brent, is called "Matching with Mismatches and Assorted Applications". It describes further improvements to the compression of bsdiff.

Career

2004-2012: Early work and FreeBSD After joining the FreeBSD Security Team in 2004, Percival analyzed the behaviour of hyper-threading as then implemented on Intel's Pentium 4 CPUs. He discovered a security flaw that would allow a malicious thread to use a timing-based side-channel attack to steal secret data from another thread executing on the same processor core and sharing its cache. Some months after reporting the problem to Intel and operating system vendors, with suggestions on how to mitigate it in system software, he made the details public in May 2005. Having finished his thesis, he returned to SFU as a visiting researcher. He went on to serve as the FreeBSD Security Officer, from August 2005 to May 2012. He was also elected to the FreeBSD Core Team, for the 2010–2012 term.

2006-2019: Tarsnap and scrypt He founded and started working on Tarsnap in 2006, which is a secure online backup service. After two years in development, Tarsnap entered a public beta in November 2008, and was profitable by February 2009. In 2008 he released the client for Tarsnap, his encrypted online backup service. He had already been trying for some two years to get FreeBSD running on the Amazon EC2 platform, and he increased these efforts. Building disk images himself, debugging kernel crashes, and coordinating with people at both Amazon and FreeBSD, he eventually overcame the technical obstacles, and Amazon announced official support for FreeBSD on EC2 in November 2012. In 2009 Percival uncovered a fatal flaw in AWS' use of cryptographic signatures used to authenticate EC2, SimpleDB, SQS, and S3 REST APIs. The same year, while working to add passphrase protection to Tarsnap keys, he became dissatisfied with existing key derivation functions. Drawing on his experience in distributed computing, Percival modeled an attacker using specialized hardware to massively parallelize a brute-force search for the passphrase. He concluded that the key derivation functions in use were vulnerable to such an attack, and sought to make these attacks cost-prohibitive by designing an algorithm that must use an amount of memory nearly proportional to its run time. He defined memory-hard functions in these terms, and presented scrypt as a specific example, which he used as the key derivation function for Tarsnap. Memory-hard functions have since become an active area of research in cryptography, and scrypt is used as the basis of proof of work in Litecoin and some other cryptocurrencies. Percival has continued to support FreeBSD on EC2, and in 2019 he was recognized as an AWS Community Hero for his work and enthusiasm.

2020-2026: FreeBSD lead and recent Since 2020 he is part of FreeBSD's primary release engineering team. According to The Register in 2022, as developer of Tarsnap and the portsnap tool for updating FreeBSD, it was "thanks to his efforts" that FreeBSD is supported on Amazon EC2. In 2022, he announced FreeBSD supported Amazon's Firecracker hypervisor as well. He was promoted to FreeBSD's Lead Release Engineer on November 17, 2023. Having left academia after his doctorate, Percival has only a few published papers. He has collaborated with mathematicians such as Peter Borwein and Richard P. Brent, giving him an Erdős number of 3. In the past he has announced new work on a blog he has maintained since 2005, then presented his results at BSD conferences.

Personal life He is based in Vancouver, Canada. Percival has Type-I diabetes.

References

Illustrations

Colin Percival illustration

Worked examples

Example 1 — a first encounter with Colin Percival

Start with the simplest possible case. Write down what Colin Percival claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Colin Percival before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Colin Percival ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Colin Percival

In research
Colin Percival appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Colin Percival in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Colin Percival is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1980s births, Alumni of Wadham College, Oxford, Canadian computer scientists, so understanding it makes those chapters shorter.
In everyday life
Look for Colin Percival outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Colin Percival” →

How to study Colin Percival in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Colin Percival means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Colin Percival out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Colin Percival in simple terms?

Colin A. Percival (born c. 1980) is a Canadian computer scientist and computer security researcher.

Why does Colin Percival matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Colin Percival?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Colin Percival.

Tags

  • 1980s births
  • Alumni of Wadham College, Oxford
  • Canadian computer scientists
  • Computer security specialists
  • FreeBSD people
  • Living people
  • Modern cryptographers
  • People from Burnaby
  • Putnam Fellows
  • Simon Fraser University alumni

Keep exploring