I was running some simulations on LTspice and it is not even using 5% of my CPU. Nothing else is topping it and the entire computer is pretty much at idle. What could be limiting the speed?
One of the main reasons I bought a laptop with an i7 processor was to speed simulations. Is this wasted on LTspice or am I doing something wrong?
I think it saves the waveforms to a file as it goes along simulating. Where you the one who complained about your hdd being slow in an earlier thread? maybe try running the sim from an ext usb stick. if that helps it's definitely the hdd.
I'd start with a ramdisk and see then. USB sticks are glacial compared with real flash drives.
Cheers
Phil Hobbs
--
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics, Electro-optics, Photonics, Analog Electronics
160 North State Road #203
Briarcliff Manor NY 10510
hobbs at electrooptical dot net
http://electrooptical.net
NONE of the computer features I can see in Task Manager are being taxed at all. The disk is near zero utilization and there are 2 GB of free memory. I just watched and LTspice was only using 5% of the CPU.
SYMATTR Type ind SYMBOL cap 320 48 R0 WINDOW 0 63 12 Left 2 WINDOW 3 59 51 Left 2 SYMATTR InstName C1 SYMATTR Value 50n SYMBOL cap 0 400 R0 WINDOW 0 61 10 Left 2 WINDOW 3 64 46 Left 2 SYMATTR InstName C2
SYMBOL npn 144 256 R0 WINDOW 0 116 42 Left 2 WINDOW 3 92 77 Left 2 SYMATTR InstName Q1 SYMATTR Value BC847B SYMBOL res 0 128 R0 WINDOW 0 52 39 Left 2 WINDOW 3 49 75 Left 2 SYMATTR InstName R1 SYMATTR Value 20K SYMBOL voltage -160 128 R0 WINDOW 0 51 41 Left 2 WINDOW 3 50 75 Left 2 SYMATTR InstName V1 SYMATTR Value 10 TEXT 240 232 Left 2 !K L1 L2 0.98 TEXT -240 480 Left 2 !.tran 0 20m 0 10n uic TEXT 424 272 Left 2 ;LC Oscillator from C5A TEXT 416 312 Left 2 ;Boresight Alignment Kit TEXT 448 376 Left 2 ;JL roughly 1975
--
John Larkin Highland Technology, Inc
picosecond timing precision measurement
jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com
It's going to be over a minute and the CPU usage never got above 20% total with spice taking less than 5%. Disk activity was minimal, under
450 kB/s at the peaks, under 50% utilization peak.
I don't see anything limiting the computer in any way. LTspice just isn't running as much as it could. Is there a setting somewhere to keep it running in the background?
16 GB is pretty much standard for non-entry level now. I'm looking for a new machine to replace this piece of crap and it will have 32 GB.
There seems to be a new thing now, gaming laptops. It's hard to find a high end laptop unless it is a "gaming" machine with fancy case, colors and even RGB lighted keyboards. What crap! I just want a machine I can type on without activating the touchpad and a touchpad with *real* buttons so I can use it with my thumb on the buttons. I have to use a wireless mouse... which should have the dongle built into the damn laptop!!!
Oh, and while I'm ranting, the function keys should be FUNCTION KEYS!!! I did finally find a setting to switch the default behavior of my function keys to be function keys and the laptop specific functions are now activated by the laptop specific feature enable key... but I still can't use F4 in any apps. Seems someone, somewhere it overriding F4 being a general purpose key and feels I need yet another way to close a program. Instead of cycling the addressing mode in spreadsheets, it asks if I want to save my work before closing.
I get a simulation speed average of about 150uS/sec on my i7-5500U 2.4 Ghz laptop/SSD drive combo with the "normal" solver, running on Wine/Xubuntu.
CPU usage 100%, altering the number of cores seems to make no difference. Only 6G of RAM and a rather sad 32k/256k of L1/L2 cache per core, so not really surprising it's TLB-missing all day.
Having a CPU with a nice fat L1/L2 cache probably helps a lot too - my guess is if that whatever set of matrix data structures LTSpice uses internally to represent a single stepping iteration's results can't fit inside the CPU cache you're kind of f***ed, have to head out to RAM/disk every time.
Alternately, if you are only interested in a few node voltages and device currents, you can restrict the quantity of saved data by using the .save directive to save only those specific node voltages and device currents. In the directive, add the ?dialogbox? option to display all available nodes and currents so you can choose to save additional data of interest.
Put LTspice to a test, load a device-level circuit, select Solver=Alternate and the proper tight solution limits and watch it crawl, or more likely... hang. ...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| STV, Queen Creek, AZ 85142 Skype: skypeanalog | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |
Thinking outside the box... producing elegant solutions.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.