2

Similar documents
Three OPTIMIZING. Your System for Photoshop. Tuning for Performance

Lecture 16. Today: Start looking into memory hierarchy Cache$! Yay!

EDGE, MICROSOFT S BROWSER

Plot SIZE. How will execution time grow with SIZE? Actual Data. int array[size]; int A = 0;

Student 1 Printer Issues

CS 162 Operating Systems and Systems Programming Professor: Anthony D. Joseph Spring Lecture 15: Caching: Demand Paged Virtual Memory

CPU Pipelining Issues

Memory Hierarchy. Memory Flavors Principle of Locality Program Traces Memory Hierarchies Associativity. (Study Chapter 5)

Clear Cache Internet Explorer 8 Windows Xp Sp3

Page Replacement. (and other virtual memory policies) Kevin Webb Swarthmore College March 27, 2018

Windows 10 Hardware and Software

Over the next several hundred pages, you can find out about the applications

Inside the PostgreSQL Shared Buffer Cache

What You Need to Know When Buying a New Computer JackaboutComputers.com

HOW TO OPTIMIZE YOUR COMPUTER FOR IMAGE EDITING PERFORMANCE PART 1

Manually Make Computer Faster For Gaming Windows 7 Home Basic

Memory Hierarchies &

CS 136: Advanced Architecture. Review of Caches

Speed Up Windows by Disabling Startup Programs

Ubuntu Remove Manually Install Software From Windows 7 Without Disk

CS162 Operating Systems and Systems Programming Lecture 11 Page Allocation and Replacement"

Cute Tricks with Virtual Memory

Java Plugin Update Windows 7 32 Bit To 64 Bit

Windows Vista Manual Update Service Pack 2 64 Bit Won't Install

How To Get Gadgets Windows Vista Faster On Laptop Run

Manually Windows Update Vista Not Work In

The personal computer system uses the following hardware device types -

WITH INTEGRITY

_APP A_541_10/31/06. Appendix A. Backing Up Your Project Files

Memory Management. Kevin Webb Swarthmore College February 27, 2018

Picture of memory. Word FFFFFFFD FFFFFFFE FFFFFFFF

XP: Backup Your Important Files for Safety

INDEX. * All specifications are subject to change without prior notice. v2 November 2005

Cache introduction. April 16, Howard Huang 1

How to Stay Safe on Public Wi-Fi Networks

Manually Make Computer Faster For Gaming Windows Xp

CSCI 1100L: Topics in Computing Lab Lab 1: Introduction to the Lab! Part I

PC I/O. May 7, Howard Huang 1

Recall from Tuesday. Our solution to fragmentation is to split up a process s address space into smaller chunks. Physical Memory OS.

COMP 273 Winter physical vs. virtual mem Mar. 15, 2012

Clean & Speed Up Windows with AWO

Manual Update Windows 7 Ultimate 64 Bit Iso

Retrospect 8 for Windows Reviewer s Guide

Google Drive: Access and organize your files

Handbook: Carbonite Safe

Typing Program For Mac Os X Adobe Flash

Recommended Backup Strategy for FileMaker Pro Server 7/8/9 for Macintosh & Windows Updated February 2008

Flash Drive Won T Mount Windows 7 Won't Recognize

Image Manually Uninstall Itunes Windows 7 >>>CLICK HERE<<<

IMPORTANT WORDS AND WHAT THEY MEAN

Data Management CS 4720 Mobile Application Development

Pharmacy college.. Assist.Prof. Dr. Abdullah A. Abdullah

Forensic Toolkit System Specifications Guide

WHEN YOUR COMPUTER SLOWS TO A CRAWL

Unit 14 plan installation and maintenance of hardware in a technology system

Manually Wipe Hard Drive Windows 7 Clean

Virtual Memory. Main memory is a CACHE for disk Advantages: illusion of having more physical memory program relocation protection.

Best practices to achieve optimal memory allocation and remote desktop user experience

Performance issues in Cerm What to check first?

What is a Backup, Anyway? Why Do I Need to Backup My Files? Top 10 Files to Backup. Why Do I Need to Backup My Files?

The name of our class will be Yo. Type that in where it says Class Name. Don t hit the OK button yet.

Windows Media Player Manual Update Vista 32 Bit

CSCI 1100L: Topics in Computing Lab Lab 11: Programming with Scratch

Welcome to Part 3: Memory Systems and I/O

Handbook: Carbonite Safe

ANNOYING COMPUTER PROBLEMS

Manually Making Computer Faster For Gaming Windows Xp

Principles of Data Management. Lecture #2 (Storing Data: Disks and Files)

Computer Systems. Communication (networks, radio links) Meatware (people, users don t forget them)

Views of Memory. Real machines have limited amounts of memory. Programmer doesn t want to be bothered. 640KB? A few GB? (This laptop = 2GB)

Optimizing Smart Phones

MIGRATING FROM WINDOWS XP

Real Fast PC. Real Fast PC Win 7.

How To Install Windows Update Vista Without Cd Dell Inspiron 1525

Windows 7 Manual Update Install Clean Disk. Space >>>CLICK HERE<<<

How to update Windows and Office offline

SQL Server Then and Now: Changing the State of Long-held Beliefs. Maxwell Myrick Managing Partner SQLHA LLC

Video Compression Secrets - Smaller Files, Better Quality UPDATED (Oct 15)

Stop Error Code 50 Mac Empty Trash

Browsing the World Wide Web with Firefox

RightNow August 08 Workstation Specifications

Operating System Principles: Memory Management Swapping, Paging, and Virtual Memory CS 111. Operating Systems Peter Reiher

Usb Port On Manually Install Drivers Windows Xp Sp3 Via

Memory Management: Virtual Memory and Paging CS 111. Operating Systems Peter Reiher

HTML version of slides:

How to Pick SQL Server Hardware

Chapter 5 - Input / Output

Quite Hot 3. Installation... 2 About the demonstration edition... 2 Windows... 2 Macintosh... 3

Click on a link below for additional information.

1GHz Dual Core Processor Extreme Speed & Range

Windows Vista Manual Update Service Pack 2 32 Bit Won't Install

Lecture 2: Memory Systems

INTRODUCTION TO COMPUTERS AND WINDOWS 10

CleanMyPC User Guide

Page 1. Goals for Today" TLB organization" CS162 Operating Systems and Systems Programming Lecture 11. Page Allocation and Replacement"

Manual Internet Explorer 10 Vista 64 Bit >>>CLICK HERE<<<

Nighthawk AC1900 Smart WiFi Router Dual Band Gigabit

CSE 120. Translation Lookaside Buffer (TLB) Implemented in Hardware. July 18, Day 5 Memory. Instructor: Neil Rhodes. Software TLB Management

Manually Clear Chrome Cache Mac Os X Mountain Lion

Manually Making Computer Faster Windows 7

Transcription:

1

2

3

4

5

All resources: how fast, how many? If all the CPUs are pegged, that s as fast as you can go. CPUs have followed Moore s law, the rest of the system hasn t. Not everything can be made threaded, not everything can benefit from being threaded if a single thread can use up all the memory bandwidth, then having multiple threads going won t help. Photoshop has supported multiple cores / cpus for over a decade. CPUs show up as 100% busy even when they re waiting on RAM. 6

Many operations in Photoshop won t speed up with multiple processors because they re already waiting on memory. Two cores can t wait on memory any faster -- but two AMD CPU chips can because there s a separate memory controller on each chip. And address space is (currently) limited it doesn t matter how much RAM you have in your machine, the application only has direct access to so much. To operate on a data set consisting of images, history states, and all the other stuff that s bigger, you have to have some way of spilling over to disk. Mac, 64-bit Windows: 3.5G direct, 6-8GB usefully. 32-bit Windows: 1.8GB direct. CS4 / Vista64: huge amount direct. 7

Orders of magnitude slower than RAM. If you ve run out of RAM, OS uses it to store application address space data in the pagefile. If the drive where OS paging is going ever runs out of space, you are in trouble. Drives generally only have one read/write head - if something else is trying to read or write at the same time make that drive head dance! Vista in particular tries to be smart about positioning and fetching files -- good for performance, bad for predictability. 8

Mac: Activity Monitor can be found under Applications\Utilities PC: Task Manager can be launched by right-clicking on the Windows task bar 9

Lets you see two things: are you using all the cpu? Is anything besides Photoshop using much cpu? gmail / safari, flash animations on web pages, mp3 players. 10

Play who s the pig (RAM edition). You ll find that you can be quite surprised at what is taking memory. music player, Safari, Firefox. 11

If the CPU usage isn t what you think it should be (caution here about multiple processors), look for another cause is RAM low? Is the disk busy? If the usage is too high, you can play find-the-pig. If only one CPU is getting pegged, the operation may not be one that takes advantage of multiple cores / cpus. 12

Note that any test that involves file I/O or relies heavily on the VM system will result in less predictable results 13

14

15

The VM OS buffering plug-in only useful if you re running CS3 on Tiger with >4GB RAM in the machine. Turning it on in this case may cause pauses in your painting. In all other cases, it s on automatically when it would help. 16

Default = the default install settings for CS3 on Windows (55%) Default + RAID0 = default settings + RAID0 for PS scratch disc 100% + RAID0 = 100% RAM allocated to PS + RAID0 for PS scratch disc + DSC = 100% RAM allocated to PS + RAID0 for PS scratch disc + Disable Scratch Compression plug-in (not a big win) 17

Default = the default install settings for CS3 on OSX (70% RAM, OS 10.4.10) Default + RAID0 = default settings + RAID0 for PS scratch disc 100% + RAID0 = 100% RAM allocated to PS + RAID0 for PS scratch disc + DSC = 100% RAM allocated to PS + RAID0 for PS scratch disc + Disable Scratch Compression plug-in (not a big win) Note the big difference using a RAID0 w/fast hard drives produces in this particular test 18

Default = the default install settings for CS3 on OSX (10.4.10) Default + RAID0 = default settings + RAID0 for PS scratch disc 100% + RAID0 = 100% RAM allocated to PS + RAID0 for PS scratch disc + DSC = 100% RAM allocated to PS + RAID0 for PS scratch disc + Disable Scratch Compression plug-in (not a big win) Also note that this is an example of a test that fits in RAM as changing settings does little to change the timing results 19

In Leopard you d get VM OS buffering by default, and these results are from a MacPro running 8GB of ram on Tiger 10.4.10 The results on the left side are using the default RAM % settings of 70%, the results on the right side have the RAM % set to 100% in the performance preference panel RAID0 in this case is a burly box (see www.macgurus.com for more info) with 8 74GB WD Raptor hard drives as a RAID0 striped volume VM = use of the Force VM OS Buffering plug-in BT = Bigger Tiles plug-in (off by default w/cs3) DSC = Disable Scratch Compression which didn t help the times of this action in either case 20202020

21

Applies to Windows users a bit more Macintoshes don t seem to suffer the gradual performance decline that XP seems to. Vista isn t supposed to either. And so many Windows machines come with junk now. Most of us engineers do a fresh OS install on any new machine. We start from a known state and control what gets installed. At least scan Add/Remove programs on a new machine and remove anything you don t think you ll need. Be careful about what you install. In theory, an uninstall cleans things up but it doesn t usually work that way on Windows. Mac users are in good shape here. On Windows, scan through Add/Remove Programs (Vista: Programs ) once a month or so to see what things you really didn t use or need and remove them. Mac users should occasionally look at /System/Library/Startup to make sure nothing unwanted got added there. Some programs can be surprisingly resource hungry. Browsers. MP3 players. Do you really need those things open while you work? Look for alternatives. Old machine you were about to toss, FM radio, laptop, etc. Get a firewall. Something in between your machine and the net that means you don t have to be running your virus scanner in scan-everything-all-the-time mode. That will kill you. Search the review sites for which scanners aren t so resource heavy. Schedule scans for weekly, turn off as much of the active scanning as possible / reasonable and don t do the things that would cause you to need so much turned on! Don t open e-mail attachments, blender frogs. We have seen cases where even just having a virus scanner installed slowed things down, but not installing one means taking extreme precautions, too. 22

By lots of layers, I mean 50+, in all the layers in all the simultaneously open documents. The more layers you have, the more difference it will make *not* to have cache levels set too high By fits on screen, I mean with the window zoomed out to however you normally work when you need to see the entire image. That 27.4% example is from opening a 1Ds2 file on my laptop. with 512 layers on a small doc in 1GB of RAM takes over 25 seconds to open with 6 cache levels, less than 3 seconds with 1.

By lots of layers, I mean 50+, in all the layers in all the simultaneously open documents. The more layers you have, the more difference it will make *not* to have cache levels set too high If you have huge files with lots of layers... you re going to eat lots of RAM and disk no matter what you do.

Going over 2 cores in a system has diminishing returns. It won t hurt, but it won t help as much as you might think. This goes back to the speed of processors versus the bandwidth of memory. Of course, if you do radial blurs all day, more cores will almost always help. Don t avoid getting more, of course, there just may be better ways of spending your machine budget. On operating system, the latest Macintosh OS X is what you should be on. On the Windows side, if you can do it, Windows Vista x64 make sure that you can find Vista x64 drivers for everything you have including printers, scanners, calibrators. Ultimate comes with both x86 and x64 in the box, but with others you can order the x64 version for a bit of extra money. If you can t move to Vista x64, consider moving to Vista, but many of the same driver concerns are there. XP SP2 works in this case. In outfitting the system the first thing is to make sure you have two drives. As we get further down this list, you ll see there are multiple ways of getting more than once drive. Drives should all be on fast interfaces: internal, or FW-800, or e-sata. FW-400 and (especially) USB-2 not as good. USB-1 or NAS / remote disks? Don t bother. Then, if you ve still got budget left over, add RAM out to 6GB on the Mac -- you ll see more benefit on Leopard. On the Windows side, if you ve managed to get to the 64-bit version of the OS, get to 6GB. Otherwise, 4GB is as much as the operating system can handle. Consider using Bigger Tiles. This is where your workflow is key. If you are doing large operations on large files, your overall throughput will benefit, even if the display sometimes seems slower.. Still have budget left over? Going for some really heavy lifting? Then it s time to spend some money on a RAID box. Try and get something with at least 4 bays. And see if you can get 4 fast drives into it size isn t nearly as important here. For using it as Photoshop scratch, RAID 0 is best. On the Windows side, turning on the Disable Scratch Compression entry is a small win. Use either the software RAID support built into the OS, or a hardware box that includes its own RAID controller card to go into your computer. Latter is faster, but much more expensive. Software RAID is free other than the cost of the drives. Still have budget left over? Ah, lucky. Only thing left is more memory. This makes using Foce VM Buffering on the Macintosh side even more of an issue. And of course, this is only an option on the Windows side if you are on a 64-bit version of the operating system. How much more? It all helps, but there are diminishing returns. We ve seen improvements going from 8GB to 16GB, but they are small. As with many things, the last bits of optimal performance are the most expensive. 25

End of presentation. 26