Tag:cpu

  • A large number of php-cgi.exe processes on the server lead to 100% CPU consumption. Solution

    Time:2021-10-16

    Optimize the fastcgi configuration file fcgiext.ini in Windows 2003 + IIS6 to reduce the number and memory size of php-cgi.exe processes It was said that fastcgi is better than ISAPI, so it was installed in the server. The configuration environment is Windows 2003 + IIS6 + fastcgi (fcgi) + php5.2.17. After a long period of […]

  • Use the top command in CentOS to view a detailed illustration of the CPU

    Time:2021-9-14

    CentOS is the product of recompilation of RHEL (Red Hat Enterprise Linux) source code, and has corrected many known bugs on the basis of RHEL. Compared with other Linux distributions, its stability is reliable. In the process of system maintenance, it may be necessary to check the CPU utilization at any time and analyze the […]

  • How does the computer view the CPU resource monitor service name?

    Time:2021-7-27

    How to view the resource monitor CPU service name? The viewing method is very simple. Let’s take a look at the detailed tutorial. Click the computer start menu, and then select“control panel”Options. Click“management tool”Options. Click“system configuration”Options. Click in turn““Tools”Tabs and“resource monitor ”, and then click“start-up”Button. Click“CPU tab, the first column of data in the service […]

  • How to know which CPU kernel Linux processes are running on

    Time:2021-4-24

    When you run HPC (High Performance Computing) programs or programs that consume network resources on multi-core NUMA processors, the affinity of CPU / memory is one of the important factors to maximize their performance. Scheduling the most relevant processes on the same NUMA node can reduce slow remote memory access. Like the Intel sandy bridge […]

  • Pytorch realizes the conversion of tensor, image, CPU, GPU, array and so on

    Time:2021-2-14

    1. Create the tensor of Python torch.rand ((322424)) # create a random value of 3D tensor with the size of (322424) torch.Tensor ([3,2]) create tensor, [3,2] 2. The conversion between the tensors on CPU and GPU, that is, the tensors created by python b = a.cpu() # GPU → CPU a = b.cuda() #CPU → […]

  • The solution of pytorch random number generation using too much CPU

    Time:2021-2-7

    Pytorch random number generation takes too much CPU Today, in the process of using python, we find that the CPU utilization rate is too high. After checking, it is found that the random number is generated in the CPU first, and then the. To (device) is called to transfer it to the GPU. As a […]

  • Pytorch uses CPU to load model operation mode

    Time:2021-2-4

    Load model to CPU without GPU and CUDA support take model = torch.load(path, map_location=lambda storage, loc: storage.cuda(device)) Change to model = torch.load(path, map_location=’cpu’) Then delete the. CUDA () method after all variables The above pytorch uses CPU to load model operation mode is the whole content shared by Xiaobian. I hope it can give you […]

  • To solve the problem of high CPU utilization of Mongo database caused by regular expression matching ($regex)

    Time:2020-10-7

    One day, it was monitored that the CPU utilization rate of Mongo database was much higher. After checking, it was found that it was caused by the following statements: db.example_collection.find({ “idField” : { “$regex” : “123456789012345678” } , “dateField” : { “$regex” : “2019/10/10” }}) Usually, when I encounter this situation, my first reaction is […]

  • How can centos7 view CPU memory and other system performance parameters?

    Time:2020-9-22

    When you view the system’s resource parameters under Linux, you will sometimes forget its method. Now share the method record as follows 1. Open terminal or log in directly, as shown below 2. Click in and enter the following commandCPU versionIf my computer is i7, the display is as follows 3. Check the number of […]

  • Linux Installation uses CPU limit to limit CPU utilization

    Time:2020-7-16

    With more and more programs on the Linux system, the CPU sometimes can’t do what it wants. Some processes can limit the CPU. Cpuliimt perfectly solves this problem. The installation and use of cplimit are very simple. Let’s take a look.1. Cplimit installation1.1 Ubuntu/Debian: Copy code The code is as follows: # apt-get install cpulimit […]

  • Java CPU performance analysis tool code example

    Time:2020-7-3

    This article mainly introduces the Java CPU performance analysis tool code example, the article through the example code introduction is very detailed, has the certain reference study value to everybody’s study or the work, needs the friend may refer to background Students who have dealt with production problems can basically encounter the sudden slow down […]

  • Using dotnet dump to find the reason why. Net core 3.0 takes up 100% of CPU

    Time:2020-6-28

    The company’s products have been continuously upgraded in line with. Net core 3.0 preview. Once deployed to a Linux server, there will occasionally be a process that takes up 100% CPUBecause the service is deployed in the cloud, remote debugging cannot be used; this problem cannot be reproduced on Linux server or windows development machine […]