How can I stop LTSPice from using the hard drive

You say you have a lot of RAM, >=2G ? Have you considered a flash drive that
plugs into a USB port, or an SD or CF card if your PC will accept it.

Tam
 
On Sat, 20 Sep 2008 12:54:45 -0700, Joerg
<notthisjoergsch@removethispacbell.net> wrote:

It was pointed to the local hard disk. But it still writes the *.raw
files to wherever the sim files are.
Ok, bad guess and bad design. Temp files should stay local.

So now I ferried those to the local
HD, violating a ground rule here. In the evening I must ferry all this
back. T'is the rule, to make sure client files are clearly separated.
I have a working directory on 4 of my local machines (2 of which are
laptops). The local documents, client, and working projects are setup
to replicate to the file server, data dumpster, and backup device. I
use Windoze Briefcase for the Windows boxes and rdist for the Linux
stuff. All are automatic or cron based. The trick is that I never
edit the files directly on the file server. Edits are always done
locally. Synchronization is always one way, from the local machine,
to the file server, never the other direction. Of course, I'm very
careful to maintain accurate date and time information. While there
was a major learning exercise many years ago, it hasn't failed for
maybe 8 years.

It's Linux and it does cache. Not much to set there, it's a Western
digital box with only a miniscule amount of control valves. Basically
you can set some permissions, that's pretty much it.
Any particular model number WD NAS box? I think you'll find that your
WD box does NOT cache writes. I need he model number to be sure. Last
time I ran IOZONE on some NAS boxes, it was apparent that there was
plenty of read cache, but writes went straight to the drive. Look on:
<http://www.smallnetbuilder.com/content/view/85/93/>
for NAS benchmarks and tests on your WD. If you feel ambitious,
compare the results with a "real" server, which uses main memory for
caching both reads and writes. I've replaced several NAS boxes with
Linux servers that simply couldn't keep up with the load (mostly brain
dead applications that scribble all over the server, open huge number
of files, do numerous sync operations for no obvious reason, etc.

That's why I was hoping LTSpice was post 1980 :)
Dunno. I was doing SPICE in college in the last 1960's.

My guess is that someone didn't test the hell out of every possible
network configuration or goofed by forcing a temp file to live across
the network.

It could store an image in RAM and then do all the fast stuff from
there. But no ...
It could, but how old Switcher CAD (LT Spice)? Probably as old as
Linear Tech which was founded in 1981. As I recall, the IBM PC
arrived in the same year.

It's a regular Ethernet (wired) LAN. SMC Barricade router, Western
Digital MyBook World with a LAN port, right next to that router.
Ummm.... Model numbers? Network speeds? Media (CAT5, coax, fiber,
two tin cans and a string)? Gigabit? Number and type of network
boxes located between the WD NAS box and your workstation?

Well, at least you supplied the WD model number.
Is it My Book World I or World II? (just curious).
<http://www.wdc.com/en/products/Products.asp?DriveID=340>
It does gigabit. Are you using gigabit?

Review of My Book World:
<http://www.smallnetbuilder.com/content/view/30140/75/1/3/>
Basically, the reviewer says the performance sucks:
<http://www.smallnetbuilder.com/component/option,com_nas/Itemid,190>
Looks like near the bottom of the list for 100mbit/sec write
performance. 2nd from worst at gigabit speeds:
<http://www.smallnetbuilder.com/component/option,com_nas/Itemid,190/chart,12/>

I have a suggestion. Setup one of your Linux machines to play server
for a while. Nothing fancy, just an NFS or NETBIOS shared directory.
Drop one of your client directories onto the Linux server, and see if
the disk bashing and performance problems go away. If you have time,
run some iozone benchmarks, but a live test with the problematic
application is probably good enough.


--
Jeff Liebermann jeffl@cruzio.com
150 Felker St #D http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558
 
"Joerg" <notthisjoergsch@removethispacbell.net> schrieb im Newsbeitrag
news:jESAk.1055$yr3.601@nlpi068.nbdc.sbc.com...
Hello Folks,

Title says it all. LTSpice constantly grinds on the hard drive, storing
raw data and what not. In my case it's all on a LAN drive so this is
especially annoying. Plus that will wear it out over time, not good at
all. With a 2GB RAM machine there is no reason whatsoever to store 20M of
raw data on every single run.

How can I stop this?

--
Regards, Joerg

http://www.analogconsultants.com/

Hello Joerg,
I just run a simulation with LTspice generating a 100MB raw-file.
The simulatiomn tooks 90sec and I saw the hard disk lamp blinking about 140
times.
That's by far not any stress for a harddisk.

LTspice uses internal caches to keep the waveform data.
You can look traces in a 100MByte raw-file with terriffic speed.
That's only possible because LTspice keeps most data in RAM too
as long as you don't run out of RAM.

Best regards,
Helmut
 
Jeff Liebermann wrote:
On Sat, 20 Sep 2008 12:54:45 -0700, Joerg
notthisjoergsch@removethispacbell.net> wrote:

It was pointed to the local hard disk. But it still writes the *.raw
files to wherever the sim files are.

Ok, bad guess and bad design. Temp files should stay local.

So now I ferried those to the local
HD, violating a ground rule here. In the evening I must ferry all this
back. T'is the rule, to make sure client files are clearly separated.

I have a working directory on 4 of my local machines (2 of which are
laptops). The local documents, client, and working projects are setup
to replicate to the file server, data dumpster, and backup device. I
use Windoze Briefcase for the Windows boxes and rdist for the Linux
stuff. All are automatic or cron based. The trick is that I never
edit the files directly on the file server. Edits are always done
locally. Synchronization is always one way, from the local machine,
to the file server, never the other direction. Of course, I'm very
careful to maintain accurate date and time information. While there
was a major learning exercise many years ago, it hasn't failed for
maybe 8 years.

It's Linux and it does cache. Not much to set there, it's a Western
digital box with only a miniscule amount of control valves. Basically
you can set some permissions, that's pretty much it.

Any particular model number WD NAS box? I think you'll find that your
WD box does NOT cache writes. I need he model number to be sure. Last
time I ran IOZONE on some NAS boxes, it was apparent that there was
plenty of read cache, but writes went straight to the drive. Look on:
http://www.smallnetbuilder.com/content/view/85/93/
for NAS benchmarks and tests on your WD. If you feel ambitious,
compare the results with a "real" server, which uses main memory for
caching both reads and writes. I've replaced several NAS boxes with
Linux servers that simply couldn't keep up with the load (mostly brain
dead applications that scribble all over the server, open huge number
of files, do numerous sync operations for no obvious reason, etc.

That's why I was hoping LTSpice was post 1980 :)

Dunno. I was doing SPICE in college in the last 1960's.

My guess is that someone didn't test the hell out of every possible
network configuration or goofed by forcing a temp file to live across
the network.

It could store an image in RAM and then do all the fast stuff from
there. But no ...

It could, but how old Switcher CAD (LT Spice)? Probably as old as
Linear Tech which was founded in 1981. As I recall, the IBM PC
arrived in the same year.

It's a regular Ethernet (wired) LAN. SMC Barricade router, Western
Digital MyBook World with a LAN port, right next to that router.

Ummm.... Model numbers? Network speeds? Media (CAT5, coax, fiber,
two tin cans and a string)? Gigabit? Number and type of network
boxes located between the WD NAS box and your workstation?
It's the Western Digital WD5000G031. CAT-5 wiring in home run method,
all goes to the SMC. A wireless hangs on it as well but only gets turned
on when needed. Not Gigabit, 100Mbit/sec. It is plenty fast for me and
none of the other programs uses the data directory to store temp stuff.
Make no sense anyhow.


Well, at least you supplied the WD model number.
Is it My Book World I or World II? (just curious).
http://www.wdc.com/en/products/Products.asp?DriveID=340
It does gigabit. Are you using gigabit?
Nope.


Review of My Book World:
http://www.smallnetbuilder.com/content/view/30140/75/1/3/
Basically, the reviewer says the performance sucks:
http://www.smallnetbuilder.com/component/option,com_nas/Itemid,190
Looks like near the bottom of the list for 100mbit/sec write
performance. 2nd from worst at gigabit speeds:
http://www.smallnetbuilder.com/component/option,com_nas/Itemid,190/chart,12/
Yes, it is slow. I knew that before I bought it but that is of no
concern to me because all it does is store data from office and CAD
applications. Not much bandwidth needed there. I just wanted something
from a reputable manufacturer without the big blue pricing.


I have a suggestion. Setup one of your Linux machines to play server
for a while. Nothing fancy, just an NFS or NETBIOS shared directory.
Drop one of your client directories onto the Linux server, and see if
the disk bashing and performance problems go away. If you have time,
run some iozone benchmarks, but a live test with the problematic
application is probably good enough.
Well, I don't have a Linux machine. But it's ok, when there is some time
(and no honey-do projects ...) I'll do the RAM disk, should fix it.

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
 
Tam wrote:
You say you have a lot of RAM, >=2G ? Have you considered a flash drive
that plugs into a USB port, or an SD or CF card if your PC will accept it.
USB flash drives are freaking slow :-(

This PC unfortunately does not accept SD cards.

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
 
Helmut Sennewald wrote:
"Joerg" <notthisjoergsch@removethispacbell.net> schrieb im Newsbeitrag
news:jESAk.1055$yr3.601@nlpi068.nbdc.sbc.com...
Hello Folks,

Title says it all. LTSpice constantly grinds on the hard drive, storing
raw data and what not. In my case it's all on a LAN drive so this is
especially annoying. Plus that will wear it out over time, not good at
all. With a 2GB RAM machine there is no reason whatsoever to store 20M of
raw data on every single run.

How can I stop this?

--
Regards, Joerg

http://www.analogconsultants.com/


Hello Joerg,
I just run a simulation with LTspice generating a 100MB raw-file.
The simulatiomn tooks 90sec and I saw the hard disk lamp blinking about 140
times.
That's by far not any stress for a harddisk.
I'll live with it for now. If I move the *asc. files to the PC before
simulating at least it grinds on the PC disk, not on the LAN server.
Thing is, I do a lot of other stuff on this PC when simulations run.


LTspice uses internal caches to keep the waveform data.
You can look traces in a 100MByte raw-file with terriffic speed.
That's only possible because LTspice keeps most data in RAM too
as long as you don't run out of RAM.
But then why doesn't it keep that whole 100MB raw data file all in RAM?
I am sure your PC has 2GB or more like mine.

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
 
On Sat, 20 Sep 2008 16:31:59 -0700, Joerg
<notthisjoergsch@removethispacbell.net> wrote:

It's the Western Digital WD5000G031.
Nothing found with that number with Google or on the WDC search page.

CAT-5 wiring in home run method,
all goes to the SMC.
What model SMC? Sorry to be so obnoxious about extracting the exact
model number out of you, but it does make a difference. For example,
if the "SMC" were a dual speed hub instead of switch, you will have
performance (and reliability) problems.

A wireless hangs on it as well but only gets turned
on when needed. Not Gigabit, 100Mbit/sec. It is plenty fast for me and
none of the other programs uses the data directory to store temp stuff.
Make no sense anyhow.
Yeah, building temp files over the LAN is not a great idea. If your
PC is capable of doing gigabit, you might consider replacing your
"SMC" with a suitable 10/100/1000 switch. I'm surprised that you
claim that you don't need the speed. I run backups from the server to
DVD and find myself waiting for the network, even with gigabit. Fast
is fun, especially when gigabit switches are very cheap.

Yes, it is slow. I knew that before I bought it but that is of no
concern to me because all it does is store data from office and CAD
applications.
No videos, photos, games, archived applications, disk images, CD and
DVD images, mirrored web sites, and image backups? My data dumpster
if full of this kind of stuff. Sure, your minimal applications don't
require much horsepower, but they're certainly no fun.

Not much bandwidth needed there. I just wanted something
from a reputable manufacturer without the big blue pricing.
Good, fast, cheap... pick two.
You bought good and cheap, (I beg to differ about good, but perception
is everything), and missed on the fast. I've never lost a customer
because it wasn't cheap. I've heard some initial grumbling if it
wasn't fast. However, if it's not good, I'm history. For mission
critical applications and picky customers, I use two NAS boxes
replicating each other with a 1 day or more delay (to allow recovery
of accidentally erased files and to recover from update disasters).
Backups are disk image files, so I don't miss anything, no matter how
minor.

Well, I don't have a Linux machine. But it's ok, when there is some time
(and no honey-do projects ...) I'll do the RAM disk, should fix it.
It should work (famous last words).

--
Jeff Liebermann jeffl@cruzio.com
150 Felker St #D http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558
 
"Joerg" <notthisjoergsch@removethispacbell.net> schrieb im Newsbeitrag
news:aPfBk.1084$YU2.731@nlpi066.nbdc.sbc.com...
Helmut Sennewald wrote:
"Joerg" <notthisjoergsch@removethispacbell.net> schrieb im Newsbeitrag
news:jESAk.1055$yr3.601@nlpi068.nbdc.sbc.com...
Hello Folks,

Title says it all. LTSpice constantly grinds on the hard drive, storing
raw data and what not. In my case it's all on a LAN drive so this is
especially annoying. Plus that will wear it out over time, not good at
all. With a 2GB RAM machine there is no reason whatsoever to store 20M
of raw data on every single run.

How can I stop this?

--
Regards, Joerg

http://www.analogconsultants.com/


Hello Joerg,
I just run a simulation with LTspice generating a 100MB raw-file.
The simulatiomn tooks 90sec and I saw the hard disk lamp blinking about
140 times.
That's by far not any stress for a harddisk.


I'll live with it for now. If I move the *asc. files to the PC before
simulating at least it grinds on the PC disk, not on the LAN server. Thing
is, I do a lot of other stuff on this PC when simulations run.


LTspice uses internal caches to keep the waveform data.
You can look traces in a 100MByte raw-file with terriffic speed.
That's only possible because LTspice keeps most data in RAM too
as long as you don't run out of RAM.


But then why doesn't it keep that whole 100MB raw data file all in RAM? I
am sure your PC has 2GB or more like mine.

--
Regards, Joerg

http://www.analogconsultants.com/

Hello Joerg,

I recommend you to send an email to Mike and ask for the feature
of a RAM only raw-file.
It's email address is in the Help->About of the LTspice program.

Best regards,
Helmut
 
Jeff Liebermann wrote:
On Sat, 20 Sep 2008 16:31:59 -0700, Joerg
notthisjoergsch@removethispacbell.net> wrote:

It's the Western Digital WD5000G031.

Nothing found with that number with Google or on the WDC search page.

CAT-5 wiring in home run method,
all goes to the SMC.

What model SMC? Sorry to be so obnoxious about extracting the exact
model number out of you, but it does make a difference. For example,
if the "SMC" were a dual speed hub instead of switch, you will have
performance (and reliability) problems.
SMC 7008 BR. It never had any performance or reliability issues. Jim
Thompson's SMC died a slow death, needed frequent resets, but not mine.
It may not fulfill the needs of a high data volume user but is perfectly
adequate for what I need it to do.


A wireless hangs on it as well but only gets turned
on when needed. Not Gigabit, 100Mbit/sec. It is plenty fast for me and
none of the other programs uses the data directory to store temp stuff.
Make no sense anyhow.

Yeah, building temp files over the LAN is not a great idea. If your
PC is capable of doing gigabit, you might consider replacing your
"SMC" with a suitable 10/100/1000 switch. I'm surprised that you
claim that you don't need the speed. I run backups from the server to
DVD and find myself waiting for the network, even with gigabit. Fast
is fun, especially when gigabit switches are very cheap.
Well, I run backups and stuff during lunch and dinner time. Or I just
let it trundle on in the background, there you don't even feel it.


Yes, it is slow. I knew that before I bought it but that is of no
concern to me because all it does is store data from office and CAD
applications.

No videos, photos, games, archived applications, disk images, CD and
DVD images, mirrored web sites, and image backups? My data dumpster
if full of this kind of stuff. Sure, your minimal applications don't
require much horsepower, but they're certainly no fun.
I use the PC only as a tool. Just like pliers, wrenches and stuff. Fun
for us is splashing in the pool, hiking, playing games, the pool table,
going out for dinner, those kinds of things :)


Not much bandwidth needed there. I just wanted something
from a reputable manufacturer without the big blue pricing.

Good, fast, cheap... pick two.
You bought good and cheap, (I beg to differ about good, but perception
is everything), and missed on the fast. I've never lost a customer
because it wasn't cheap. I've heard some initial grumbling if it
wasn't fast. However, if it's not good, I'm history. For mission
critical applications and picky customers, I use two NAS boxes
replicating each other with a 1 day or more delay (to allow recovery
of accidentally erased files and to recover from update disasters).
Backups are disk image files, so I don't miss anything, no matter how
minor.
Let's put it that way, good and cheap is good enough for me and my
business :)


Well, I don't have a Linux machine. But it's ok, when there is some time
(and no honey-do projects ...) I'll do the RAM disk, should fix it.

It should work (famous last words).
Last words in the west: "Hey y'all, watch this now!"

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
 
Helmut Sennewald wrote:
"Joerg" <notthisjoergsch@removethispacbell.net> schrieb im Newsbeitrag
news:aPfBk.1084$YU2.731@nlpi066.nbdc.sbc.com...
Helmut Sennewald wrote:
"Joerg" <notthisjoergsch@removethispacbell.net> schrieb im Newsbeitrag
news:jESAk.1055$yr3.601@nlpi068.nbdc.sbc.com...
Hello Folks,

Title says it all. LTSpice constantly grinds on the hard drive, storing
raw data and what not. In my case it's all on a LAN drive so this is
especially annoying. Plus that will wear it out over time, not good at
all. With a 2GB RAM machine there is no reason whatsoever to store 20M
of raw data on every single run.

How can I stop this?

--
Regards, Joerg

http://www.analogconsultants.com/

Hello Joerg,
I just run a simulation with LTspice generating a 100MB raw-file.
The simulatiomn tooks 90sec and I saw the hard disk lamp blinking about
140 times.
That's by far not any stress for a harddisk.

I'll live with it for now. If I move the *asc. files to the PC before
simulating at least it grinds on the PC disk, not on the LAN server. Thing
is, I do a lot of other stuff on this PC when simulations run.


LTspice uses internal caches to keep the waveform data.
You can look traces in a 100MByte raw-file with terriffic speed.
That's only possible because LTspice keeps most data in RAM too
as long as you don't run out of RAM.

But then why doesn't it keep that whole 100MB raw data file all in RAM? I
am sure your PC has 2GB or more like mine.

--
Regards, Joerg

http://www.analogconsultants.com/


Hello Joerg,

I recommend you to send an email to Mike and ask for the feature
of a RAM only raw-file.
It's email address is in the Help->About of the LTspice program.
Good idea, I'll do that. But I don't want to sound like a complainer.
LTSpice is a free program and quite frankly the most excellent SPICE
simulator I have ever used. There is such a thing as a free lunch :)

--
Regards, Joerg

http://www.analogconsultants.com/

"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
 
On Sat, 20 Sep 2008 12:47:51 -0700, "Joel Koltner"
<zapwireDASHgroups@yahoo.com> wrote:

"Frank Buss" <fb@frank-buss.de> wrote in message
news:1529ejbweq35j$.1xwgvwd3lxcbr$.dlg@40tude.net...
For Windows
XP there is no built-in program available.

This reflects the fact that Windows uses a *huge* disk cache by default
(hundreds of megabytes if no other program requests the memory!), and the
folks at Microsoft seemed to equate using a RAM disk to "I want really fast
performance" (as opposed to Joerg's "I don't want my mechanical hard drive
grinding"), which a huge cache provides, so this is why they make you go to
some effort to get a "real" RAM disk.

Or at least that's my interpretation of events. :)
This brings up an interesting alternative. I used to be able to
disable disk swap space entirely for a few restarts. It may still be
possible. Better not have anything else running at the same time
though.
 
On Sat, 20 Sep 2008 14:40:56 -0700, Jeff Liebermann <jeffl@cruzio.com>
wrote:

On Sat, 20 Sep 2008 12:54:45 -0700, Joerg
notthisjoergsch@removethispacbell.net> wrote:

It was pointed to the local hard disk. But it still writes the *.raw
files to wherever the sim files are.

Ok, bad guess and bad design. Temp files should stay local.

So now I ferried those to the local
HD, violating a ground rule here. In the evening I must ferry all this
back. T'is the rule, to make sure client files are clearly separated.

I have a working directory on 4 of my local machines (2 of which are
laptops). The local documents, client, and working projects are setup
to replicate to the file server, data dumpster, and backup device. I
use Windoze Briefcase for the Windows boxes and rdist for the Linux
stuff. All are automatic or cron based. The trick is that I never
edit the files directly on the file server. Edits are always done
locally. Synchronization is always one way, from the local machine,
to the file server, never the other direction. Of course, I'm very
careful to maintain accurate date and time information. While there
was a major learning exercise many years ago, it hasn't failed for
maybe 8 years.

It's Linux and it does cache. Not much to set there, it's a Western
digital box with only a miniscule amount of control valves. Basically
you can set some permissions, that's pretty much it.

Any particular model number WD NAS box? I think you'll find that your
WD box does NOT cache writes. I need he model number to be sure. Last
time I ran IOZONE on some NAS boxes, it was apparent that there was
plenty of read cache, but writes went straight to the drive. Look on:
http://www.smallnetbuilder.com/content/view/85/93/
for NAS benchmarks and tests on your WD. If you feel ambitious,
compare the results with a "real" server, which uses main memory for
caching both reads and writes. I've replaced several NAS boxes with
Linux servers that simply couldn't keep up with the load (mostly brain
dead applications that scribble all over the server, open huge number
of files, do numerous sync operations for no obvious reason, etc.

That's why I was hoping LTSpice was post 1980 :)

Dunno. I was doing SPICE in college in the last 1960's.

My guess is that someone didn't test the hell out of every possible
network configuration or goofed by forcing a temp file to live across
the network.

It could store an image in RAM and then do all the fast stuff from
there. But no ...

It could, but how old Switcher CAD (LT Spice)? Probably as old as
Linear Tech which was founded in 1981. As I recall, the IBM PC
arrived in the same year.
No such luck. Spice that would run on a PC is only since 1985
(Intusoft) and the help->about for LTSpice only goes back to 1998.

It's a regular Ethernet (wired) LAN. SMC Barricade router, Western
Digital MyBook World with a LAN port, right next to that router.

Ummm.... Model numbers? Network speeds? Media (CAT5, coax, fiber,
two tin cans and a string)? Gigabit? Number and type of network
boxes located between the WD NAS box and your workstation?

Well, at least you supplied the WD model number.
Is it My Book World I or World II? (just curious).
http://www.wdc.com/en/products/Products.asp?DriveID=340
It does gigabit. Are you using gigabit?

Review of My Book World:
http://www.smallnetbuilder.com/content/view/30140/75/1/3/
Basically, the reviewer says the performance sucks:
http://www.smallnetbuilder.com/component/option,com_nas/Itemid,190
Looks like near the bottom of the list for 100mbit/sec write
performance. 2nd from worst at gigabit speeds:
http://www.smallnetbuilder.com/component/option,com_nas/Itemid,190/chart,12/

I have a suggestion. Setup one of your Linux machines to play server
for a while. Nothing fancy, just an NFS or NETBIOS shared directory.
Drop one of your client directories onto the Linux server, and see if
the disk bashing and performance problems go away. If you have time,
run some iozone benchmarks, but a live test with the problematic
application is probably good enough.
 

Welcome to EDABoard.com

Sponsor

Back
Top