increasing speed

increasing speed - Messages

#1 Posted: 2/1/2020 1:37:40 PM
Roman

Roman

0 likes in 6 posts.

Group: User

Hello all. This is my case. It runs dramatically low. Can anyone give a hint for increasing speed? Or such a situation is normlal. Thanks.Postroenie polja riska.sm (148 KiB) downloaded 52 time(s).
#2 Posted: 2/1/2020 2:27:20 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello,

Select all regions and put Optimization->Numeric

slow.png

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 2/1/2020 3:27:10 PM
Roman

Roman

0 likes in 6 posts.

Group: User

Great! Fantastic! I was nearly diappointed, but it is really TOOL.
#4 Posted: 2/1/2020 5:33:30 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Much different stuff ... you can shift another set,
as well as plot in a random filled square.
Too long to resume in my laptop.

MagicDisks.PNG

Circle Magic Disk.sm (27 KiB) downloaded 42 time(s).
#5 Posted: 2/2/2020 2:33:18 PM
Roman

Roman

0 likes in 6 posts.

Group: User

Thanks. It is better to use a file for data transfer. By now I don t engaged in working with plugins. One would like to try main concept. But later they will be strong required.
#6 Posted: 2/12/2020 7:26:04 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Wrote

It runs dramatically low. Can anyone give a hint for increasing speed?


You can always run SMath in a RamDisk (Significant speed improvement). I've started playing with this to speed up some computations, but most of my stuff is not plot intensive like the other Collabs. Just make sure you save your files to the disk or Poof, there goes your work

#7 Posted: 2/14/2020 4:46:12 AM
Roman

Roman

0 likes in 6 posts.

Group: User

Thank you very much. By the moment I have not tried yet but I just did not know about such a trick as RAM DISK.
#8 Posted: 2/14/2020 2:20:12 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Wrote

Thank you very much. By the moment I have not tried yet but I just did not know about such a trick as RAM DISK.



Ram Disk takes a portion of your RAM and "virtualizes" it into a drive. I'm using ImDisk which is free. Essentially, I've grabbed 4GB of my 16GB of ram and turned it into a virtual drive (in my case E:\). Once loaded, anything you put in there will now run at the speed of your ram. Gamers, Servers, dumps from databases, CAD, graphics intensive renderings (designers/3D virtualization) tend to use a variant of this. SDDs are fast enough for most, but this way there is no I/O to the disk. I also use this to compress/uncompress files. Just remember to save things before shutting down or *POOF* all gone. Essentially, I use use it as a scratch pad
NOTE: I will add that I'm on a laptop so I battery backup. If on a desktop, UPS is recomended
#9 Posted: 2/14/2020 3:25:31 PM
sergio

sergio

115 likes in 329 posts.

Group: User

ElSid,
​​I did not understand if in the RAMDisk you save (temporarily) only the .sm file or if you have to put for example a portable version of the SMath.

update 17/02/2020:
I tried to save the.sm file to a ramdisk, but I didn't measure any processing time benefit


sergio
#10 Posted: 2/17/2020 9:29:49 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... often in real Engineering works:
Discretize => transit to file.
#11 Posted: 2/27/2020 3:03:46 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Wrote

update 17/02/2020:
I tried to save the.sm file to a ramdisk, but I didn't measure any processing time benefit


sergio


Run it Twice or more ...
Ram disk runs everything at the speed of Ram to the interface with the processor. The initial load up is a bit faster than SDD drives. Essentially, once it's loaded, it's already in memory so you avoid the I/O. I'm not as sophisticated as some of the the sheets you and others have posted, but I'll open several calcs and re-run the numbers ... speed is really fast, especially the ones that create the data dumps (read write data). Search the benefits of RamDisks, others are more eloquent than I. I know gamers with oodles of RAM will install their games on a RAM drive to speed up the gaming experience and the fps

#12 Posted: 2/27/2020 4:38:59 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Sergio, Elsid
As it looks, both of you are telling your own truth, is it ?
Test both ways Julia [18 min on my 1.66 GHZ].

Pattern Julia Set [PUBLISH].sm (25 KiB) downloaded 33 time(s).
#13 Posted: 2/27/2020 5:12:11 PM
sergio

sergio

115 likes in 329 posts.

Group: User

Jean I tried your file on both normal disk and RamDisk the calculation time is equal to 30 seconds.
Anyway I thank Elsid for the report as the use of RamDisk is useful to send us temporary files and save some life to SSD disks.
sergio

I specify that normal disk = SSD disk (on my PC)
#14 Posted: 2/27/2020 5:44:42 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Jean I tried your file on both normal disk and RamDisk the calculation time is equal to 30 seconds.


Thanks Sergio ... I was on knees !
For sure, for gamers, faster chasing flies with a riffle than with cannon.
First time Smath runs a document it piles down in vector,
2nd time is faster then constant.
± 30 sec = same
Conclusion: RAMDISK does not apply to Smath and similar.

#15 Posted: 2/28/2020 8:21:07 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... not clear what the project should produce ?
Presumably => concentric circles for RGB image
maybe for exporting data set ?

Concentric.PNG
#16 Posted: 2/28/2020 10:21:58 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

As interpreted ... ?
1. You can have as many rings as desired, sizes as well.
2. It may be profitable to transit/spool to file.
3. You may have in any Web colors from otherwise construction ?
4. Rectangle may be added ?

Rings.PNG

Circle Monte Carlo.sm (24 KiB) downloaded 26 time(s).
#17 Posted: 2/28/2020 11:40:50 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

2 confirmations:
1. Spool to file YES for recovering from other document.
2. Web colors YES from code ... somewhat greedy !

Circle Monte Carlo.sm (32 KiB) downloaded 39 time(s).
#18 Posted: 3/2/2020 5:43:34 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... a much faster version.

Circle Monte Carlo.sm (33 KiB) downloaded 35 time(s).
  • New Posts New Posts
  • No New Posts No New Posts