Example 1 - 1.5GB File on a 4GB WorkstationWe will start with a relatively small file and test it on a $500 Linux RH4 workstation equipped with 4GB of RAM and an older Athlon CPU. The file we will use is called caw_test1.gds. It has about 40 layers, 8600 cell definitions and 6 layers of metal. We will always use the option: Load File to Memory. Qckvu3 Loading Time - from the time we press OK in the file open dialog until the display starts drawing is 1:29. Qckvu3 Memory Footprint - this is determined using the top program: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 17232 stevedb 15 0 2097m 1.9g 11m S 0.0 57.1 1:02.18 qckvu3.exe According to Qckvu3, 650MB was required for loading the file to memory. The balance used is for the scan data, quad tree and Qckvu3's executable. The opening time for a 1.5GB file was about one and a half minutes or one minute per GB. Run QckCache Now let's run QckCache on this file to build a memory map. We run this from our home directory where the file caw_test1.gds is located: $ $CAD/caw/bin/qckcache.exe caw_test1.gds QckCache v1.00 (April 5, 2010) Copyright © 2010 Artwork Conversion Software, Inc. (831)426-6163 info@artwork.com www.artwork.com Scanning... 100% Scanning in 0 min 22 sec Loading... 100% Loading in 0 min 28 sec Saving... 100% Saved in 0 min 33 sec Finished creating cache files: /home/stevedb/caw_test1/caw_test1.gds.dbload.l64 /home/stevedb/caw_test1/caw_test1.gds.scan.l64 So it took about the same time to create the memory cache files as it did to open the file directly using Qckvu3. If you look at the size of the files: -rw-rw-rw- 1 stevedb users 1524334592 Sep 3 2009 caw_test1.gds -r--r--r-- 1 stevedb users 1675258701 Apr 6 04:15 caw_test1.gds.dbload.l64 -r--r--r-- 1 stevedb users 15205254 Apr 6 04:14 caw_test1.gds.scan.l64 you will note that the .dbload.164 files is 1.67 GB which is actually larger than the original GDSII file and the .scan.l64 file is 15 MB which is only 1% of the source file. This is an indicator that the file under test has an unusual structure or organization. Loading Memory Maps Directly into Qckvu3 To open a cache file use Qckvu3's file pulldown and click on the item: Select GDSII Cache A dialog will open enabling you to choose the cache file. Select the file caw_test1.gds.dbload.l64 for opening. Opening the file will take about 20 seconds as compared to 90 seconds for opening the original GDSII file. This is an unusual GDSII file in that most of our test cases result in a much faster ratio between loading the cache and the original file. |
Example 2 - 32GB File on a 32GB WorkstationOur second example uses a 32GB GDSII stream file running on a quad opteron workstation equipped with 32GB of RAM. Here is the data of interest: Qckvu3 GDSII Loading Time - from the time we press OK in the file open dialog until the display starts drawing - 15:30 mm:ss Qckvu3 Memory Footprint - this is determined using the top program: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 15758 tester 19 4 14.4g 14g 13m S 0 45.4 9:59.79 qckvu3.exe QckCache time to generate cache file it took the qckcache program 15:15 mm:ss to generate the two cache files -- approximately the same amount of time as to open the file for viewing. Size of Cache File: -r--r--r-- 1 tester users 14879422000 Apr 9 12:37 spika_quad.gds.dbload.l64 -r--r--r-- 1 tester users 153597268 Apr 9 12:36 spika_quad.gds.scan.l64 Time to open Cache File - 00:40 mm:ss This is a tremendous improvement 40 seconds vs. 15 minutes. |