Reduce time to launch Play mode and scripts update - performance

Every working day, all unity developers have to launch the play mode in a Unity more than once. And if you think about it, it may take you a long time to wait for the launch of this mode.
My question is advise how I can speed up the launch mode and scripts update?
I have already taken the following actions:
Created a RAM disk and installed Unity on it.
Transferred all project-related files to the SSD (I am afraid to transfer the disc to RAM because of the possibility of losing everything in case of failure)
EDIT:
it running on:
i7 3770, ram ddr3 16gb(12 ram + 4 ram disk),Slim S55 240GB,gtx670

Related

IntelliJ IDEA memory consumption

Planning on getting an 8gb ram laptop, at least 256gb ssd, with core i5(at least 8th gen) with financial management, I have seen post of some people saying 8gb ram is not enough to run intelliJ IDEA, some even say 16gb is just manageable and as I only intend to run just the ide before moving to android studio for building apps though I intend to get an android device for emulation alongside the android studio so I dont in any case use the virtual device, what do you guys suggest about getting the 8gb ram laptop, do you guys think the ssd can speed up my compilation without lagging or I should try to get a higher ram. Besides, I have a Lenovo thinkpad X140e mini laptop with 3gb ram, amd A4 series chip, 256gb HDD, and the laptop is so slow as it takes about 2 minutes to compile a simple println statement and after compiling about 5 codes, it might just freeze for more than 6 minutes, need help from experienced users and the time it takes to compile a code in the ide (those with the 8gb ram laptop and ssd)

Linux PCIe driver and app showing high CPU Usage

I've a custom Xilinx PCIe Endpoint Hardware, I've written a linux driver for it and also a sample app to test it.
Driver loads correctly and Device is also recognized. Then the CPU Usage is also stable until I run my application.
When I run my application, one out of my 4 Cores are Hitting 100% when other cores stay below 10%. Then opening any other application (may be firefox browser as I did), The system completely Hangs and requires a hard restart to get back to normal.
The process wise CPU Usage shows only my application at 25% and remaining all stays at 0-1%.
The communication between the Driver and Application is only the Interrupts. When there is an MSI Interrupt, the read call on the device file in the application unblocks and again application starts waiting for another interrupt. Also I access the BAR Regions from the application using resource files.
Why does only one core is showing 100% CPU Usage? and Why my system completely hangs when another application is started even when 3 cores are almost completely free?
Found the issue.
In the app I run, 4 Threads are created which will handle each PCIe Interrupt. Apart from that, The main function polls on a global variable with an empty while loop. This is the reason for high CPU Usage. Figured out a way and used usleep instead of while loop and done.
CPU Usage is less than 20% now.
Thanks for your comments.

Is there a min amount of ram to run create react app?

I find when I run create react app on my laptop then begin to code in VSCODE my laptop heats up a lot more than usual to the point its burning to the touch.
I have a macbook pro 2018 macos mojave fully upto date i5 8gb ram.
Is the reason for this low ram of 8gb?
Any information would be amazing.
Thanks
Nav
Not sure what to try?
npx create-react-app
Not expecting laptop to get unusually hot. Only happens when running create react app. also sometimes happens when running Atom IDE but does anyone even use that anymore?
No, the amount of ram you have should be more than sufficient to to VSCode and a create-react-app. Ram also has little impact on heat so I don't think that is causing the issue.
What you could try is to open the activity monitor to check if any processes are using more CPU than they should. Also check under the Energy-tab, that could give you a good guidance to what is causing your heating problem. As an example, I've had problems before where some of my VSCode plugins have had a bug that causes them to run at 100% CPU constantly.

Is Windows task manager showing memory usage inaccurately?

I am writing a huffman coding and decoding in python and when I run it, windows task manager goes to 100% and jumps up to 5GB of RAM usage under my python project. I installed Memory_profiler for python, to see what is going on and there was not much going on. Windows jumps to those high values in places where profiler showed me 7MB or 180MB increments. What should I trust? My laptop does get laggy a lot when I get to those values.

XCode compiling extremely slow inside VMWare

The OSX 10.6.6 is installed inside VMware on Windows 7 host. The overall performance is great, However, the compiling time increased dramatically (1 hour against 2-3 min on pure MacOS). It's modern machine with Core i5 & 4GB RAM.
Here are the XBench results:
http://db.xbench.com/merge.xhtml?doc1=517768&doc2=1&setCookie=true
I think the problem could be in extremely slow 4k write value, but I don't know how to improve this.
Is there any way to increase performance?
UPD1: swap is not used, there is enough memory for all operations
the disk speed is also not related, since my another Macbook shows event worse results, and compiles hundreds times faster.
UPD2: problem solved, see my answer below
Sharing experience and solution.
My Xcode was running fine but when I build a project (even an empty one), it would take up to 10 minutes.
SOLUTION:
Go to Xcode -> Preference -> Source Control: Dissable Source Control
Now projects build and run in a matter of seconds.
In VMWare, you should have a setting where you can dedicate one or two cores entirely to the virtual machine. Assuming you have quad core, maybe give MacOSX 2 or 3 cores? If you have dual-core and you've allocated 1 core to the VM (and the problem still persists), i can't say much then!
It's good that your problem is solved, but I want to share my experience for improving vmware performance. Please do install VMware tools for mac os and they are present in .iso file.
Steps to install VMware tools for MAC OS:
1) Power on your VM.
2) At the right bottom they are some pop-up symbols(These are usually not present in full screen mode). Rightclick the CD/DVD symbol.
3) Click setting. In this window make sure that darwin.iso is selected.
4) Close this window and again right click CD/DVD symbol.
5) Click connect. An icon will appear with name darwin(300).
6) Inside this file tools are present. Install them!
The problem was: VERY SLOW recursive searching of include paths. If non-recursive, everything works smooth.
I also got the same problem, But i want share my personal experience here.
My CPUs RAM capacity is 4 GB, So i allocated 3.5 GB to the VMWare
because of this it was very slow the entire operating system.
So one day i clearly observed the VMWare settings, finally found the
solution. If we allocate the RAM memory more than recommended then
also your operating system hangs. For my System the recommended RAM
memory is 2048MB, after adjusting this now OS is fast.
We can adjust the RAM memory in Devices option, inside Hardware. For
clarification here i am attaching the screen shot.
I had the same problem and I fixed it as follow:
Most boost I got with changing my vmware config file to disable memory
stored in .vmem file. In my .vmx file I added :
mainMem.useNamedFile = "FALSE"
prefvmx.minVmMemPct = "100"
Setting max cores to the guest
When programming with swift and XCode. Remove all comments /* */ not really used.

Resources