This page lets you customize the amount of system memory allocated for various purposes. It also allows you to set the size of thumbnail files that GIMP produces.
Resource Consumption
GIMP allows you to undo most actions by maintaining an ”Undo History” for each image, for which a certain amount of memory is allocated. Regardless of memory usage, however, GIMP always permits some minimal number of the most recent actions to be undone: this is the number specified here. See Avsnitt 3, ”Ångra” for more information about GIMP's Undo mechanism.
This is the amount of undo memory allocated for each image. If the Undo History size exceeds this, the oldest points are deleted, unless this would result in fewer points being present than the minimal number specified above.
This is the amount of system RAM allocated for GIMP image data. If GIMP requires more memory than this, it begins to swap to disk, which may in some circumstances cause a dramatic slowdown. You are given an opportunity to set this number when you install GIMP, but you can alter it here. See How to Set Your Tile Cache for more information.
This is not a hard constraint: if you try to create a new image larger than the specified size, you are asked to confirm that you really want to do it. This is to prevent you from accidentally creating images much larger than you intend, which can either crash GIMP or cause it to respond verrrrrrrry slowwwwwwwwly.
This sets the compression method used for tile data stored in the swap. Compression can both reduce the swap size, and increase its speed, by minimizing input and output. Values are best performance (the default), balanced, and best compression, or none to disable compression altogether.
Multi-threading allows making use of multiple cores for processing. Not all features make use of that for the moment. A point of interest is that multi-threading happens through GEGL processing, but also in GIMP core itself, for instance to separate painting from display.
Network Access
When this option is enabled, GIMP will regularly check at start-up if a new version is available. If there is, you will get an alert that you can update. Note that this option requires you to have an internet connection and for GIMP to be allowed access to the internet.
Image Thumbnails
This options allows you to set the size of the thumbnails shown in the File Open dialog (and also saved for possible use by other programs). The options are ”No thumbnails”, ”Normal (128x128)”, and ”Large (256x256)”.
If an image file is larger than the specified maximum size, GIMP will not generate a thumbnail for it. This options allows you to prevent thumbnailing of extremely large image files from slowing GIMP to a crawl.
Dokumenthistorik
When checked, files you have opened will be saved in the Document history. You can access the list of files with the Document history dialog from the main menu: → → .
Detta avsnitt täcker inställningen Bildblockscachestorlek under Systemresurser.
During the data processing and manipulation of images, GIMP can use a lot of memory. The more you have available, the better. GIMP uses available memory and other resources as effectively as possible, striving to let you work on your images without more slowdowns than necessary.
If GIMP needs more (RAM) memory than you have, it starts storing parts of the image data needed to work on your image on a hard disk. These parts are called tiles. Access to disk is slower, but at least it allows you to keep working. The disk storage is called a cache and the entire system is called ”tile cache”.
The tile cache value determines when GIMP starts using cache instead of faster RAM memory. A low value for the tile cache means that GIMP sends data to disk more quickly then needed, not making good use of the available RAM. Too high a value for tile cache, and other applications start to have less system resources, forcing them to use swap space and thus slow down, or it may cause some of them to start to malfunction or even terminate due to lack of RAM.
Hur väljer du ett tal för storleken på bildblockscachen? Här är några tips för att hjälpa dig välja värde att använda, såväl som några trick:
Den enklaste metoden är att bara glömma detta och hoppas att standardvärdet fungerar. Detta var en användbar metod när datorer hade lite RAM-minne, och de flesta bara försökte göra små bilder med GIMP och körde ett eller två andra program samtidigt. Om du vill ha något enkelt och bara använder GIMP för att göra skärmbilder och logotyper så är detta troligen den bästa lösningen.
Om du har en modern dator med mycket minne kommer att sätta bildblockscachen till häften av ditt RAM-minne troligen ge bra prestanda för GIMP i de flesta situationer utan att orsaka brister hos andra program. Troligen skulle till och med tre fjärdedelar av RAM-minnet fungera bra.
Börja ändra värdet litegrann varje gång och kontrollera att det går snabbare och snabbare för varje ökning, men att systemet inte klagar på minnesbrist. Se upp för att minnesbrist ibland kan visa sig plötsligt genom att något program dödas för att ge plats åt de andra.
Räkna lite matte och beräkna ett rimligt värde. Kanske kommer du behöva justera det senare, men du kanske behöver justera det i alla fall med de andra föregående metoderna. Åtminstone bör du veta vad som händer och kan få ut det bästa från din dator.
Let's suppose you prefer the last option, and want to get a good value to start with. First, you need to get some data about your computer. This data is the amount of RAM installed in your system, the operating system's swap space available, and a general idea about the speed of the disks that store the operating system's swap and the directory used for GIMP's swap. You do not need to do disk tests, nor check the RPM of the disks, the thing is to see which one seems clearly faster or slower, or whether all are similar. You can change GIMP's swap directory in the Folders page of the Preferences dialog.
The next thing to do is to see how much resources you require for other apps you want to run at the same time as GIMP. So start all your tools and do some work with them, except GIMP of course, and check the usage. You can use applications like free, top, or Process Explorer, depending on what OS and what environment you use. The numbers you want is the memory left, including file cache.
Linux's free command does the maths for you: check the column that says ”free”, and the line ”-/+ buffers/cache”. Note down also the free swap.
Nu är det dags för beslut och lite enkel matematik. I grunden är konceptet att bestämma om du vill basera all bildblockscache i RAM, eller RAM plus operativsystemets växlingsutrymme:
Växlar du program ofta? Eller fortsätter du arbeta i GIMP länge? Om du tillbringar mycket tid i GIMP kan du överväga fritt RAM-minne plus fritt växlingsutrymme som tillgängligt. Om inte behöver du gå igenom följande steg. (Om du är osäker, se följande steg.) Om du är säker på att du växlar program med några minuters mellanrum, räkna bara fritt RAM-minne och gå till det slutgiltiga beslutet, det finns inget mer som behöver kontrolleras.
Finns operativsystemets växlingsutrymme på samma fysiska hårddisk som GIMPs växlingsutrymme? Om det är så, lägg till RAM-minne och växlingsutrymme. Gå annars till nästa steg.
Är disken som håller operativsystemets växlingsutrymme snabbare eller har samma hastighet som disken med GIMPs växlingsutrymme? Om den är långsammare, ta endast det fria RAM-utrymmet. Om den är snabbare eller likvärdig, lägg till fritt RAM-minne och växlingsutrymme.
Du har nu ett tal, antingen fritt RAM-minne eller det fria RAM-minnet plus operativsystemets fria växlingsutrymme. Reducera det litegrann för säkerhets skull, så är det den bildblockscache du kan använda som en bra start.
Som du kan se handlar allt om att kontrollera de lediga resurserna, och avgöra om operativsystemets växlingsutrymme är värt att använda eller kommer orsaka mer problem än det är till hjälp.
Det finns dock några anledningar till att du kan vilja justera detta värde. En enkel anledning är ändringar i ditt användningsmönster för datorn eller ändringar i hårdvara. Detta skulle kunna betyda att dina antaganden om hur du använder din dator, eller dess hastighet, inte längre är giltiga. Det skulle kräva en ny utvärdering av föregående steg, vilket kan leda dig till ett liknande värde, eller ett helt nytt.
En annan anledning till att ändra värdet är för att GIMP verkar köras för långsamt, medan växlande till andra program går snabbt: detta betyder att GIMP skulle kunna använda mer minne utan att hämma de andra programmen. Om du å andra sidan får klagomål från andra program om att de inte har tillräckligt med minne så kan det göra gott att inte låta GIMP ta så mycket av det.
Om du bestämde dig att bara använda RAM-minne och GIMP körs långsamt, skulle du kunna testa att öka värdet litegrann, men aldrig så mycket att det även använder allt fritt växlingsutrymme. Om fallet är det omvända, att du använder både RAM-minnet och växlingsutrymmet, och du har problem med resursbrist, så bör du minska mängden RAM-minne som är tillgängligt för GIMP.
Ett annat trick är att placera växlingskatalogen på en väldigt snabb disk, eller på en annan disk än den där de flesta av dina filer finns. Att sprida operativsystemets växlingsfil över flera diskar är också allmänt ett bra sätt att snabba upp saker. Och du kan förstås behöva köpa mer RAM-minne eller sluta använda många program samtidigt: du kan inte redigera en poster på en dator med för lite RAM-minne och förvänta dig att det ska gå snabbt.
You can also check what memory requirements your images have. The larger the images, and the number of undo steps, the more resources you need. This is another way to choose a number, but it is only good if you always work with the same kind of images, and thus the real requirements do not vary. It is also helpful to know if you will require more RAM and/or disk space.