Search the Community
Showing results for tags 'optimization'.
-
Today I have another "why is this faster than this?" because I have nothing else to do in my life. Like seriously, you all might get tired replying my posts because all I say does not even really matter, but once I get this question in my head, it will bother me so I can't stop. You know how "ptr" is the same as "*(ptr + i)"? Upon testing, looks like it is not. And the difference is actually something I can talk about. clock_gettime(CLOCK_MONOTONIC, &start); for (int i = 0; i < iteration; i++){ for (int i = 0; str[i]; i++); } clock_gettime(CLOCK_MONOTONIC, &end); printf("%ld\n", end.tv_nsec - start.tv_nsec); clock_gettime(CLOCK_MONOTONIC, &start); for (int i = 0; i < iteration; i++){ for (int i = 0; *(str + i); i++); } clock_gettime(CLOCK_MONOTONIC, &end); printf("%ld\n", end.tv_nsec - start.tv_nsec); This is only a snippet of my main because the string is so BIG it almost crashes VSCode. Anyways, the second loop is quite a bit faster than the first. First loop uses array indexing whereas the second loop uses pointer arithmetic. Ah yes, the assembly code. Only if I could read it! main: pushq %rbp .seh_pushreg %rbp movq %rsp, %rbp .seh_setframe %rbp, 0 subq $96, %rsp .seh_stackalloc 96 .seh_endprologue call __main leaq .LC0(%rip), %rax movq %rax, -24(%rbp) leaq -48(%rbp), %rax movq %rax, %rdx movl $1, %ecx call clock_gettime movl $0, -4(%rbp) jmp .L4 .L7: movl $0, -8(%rbp) jmp .L5 .L6: addl $1, -8(%rbp) .L5: movl -8(%rbp), %eax cltq movq -24(%rbp), %rdx addq %rdx, %rax movzbl (%rax), %eax testb %al, %al jne .L6 addl $1, -4(%rbp) .L4: cmpl $0, -4(%rbp) jle .L7 leaq -64(%rbp), %rax movq %rax, %rdx movl $1, %ecx call clock_gettime movl -56(%rbp), %eax movl -40(%rbp), %edx subl %edx, %eax movl %eax, %edx leaq .LC1(%rip), %rax movq %rax, %rcx call printf leaq -48(%rbp), %rax movq %rax, %rdx movl $1, %ecx call clock_gettime movl $0, -12(%rbp) jmp .L8 .L11: movl $0, -16(%rbp) jmp .L9 .L10: addl $1, -16(%rbp) .L9: movl -16(%rbp), %eax cltq movq -24(%rbp), %rdx addq %rdx, %rax movzbl (%rax), %eax testb %al, %al jne .L10 addl $1, -12(%rbp) .L8: cmpl $0, -12(%rbp) jle .L11 leaq -64(%rbp), %rax movq %rax, %rdx movl $1, %ecx call clock_gettime movl -56(%rbp), %eax movl -40(%rbp), %edx subl %edx, %eax movl %eax, %edx leaq .LC1(%rip), %rax movq %rax, %rcx call printf movl $0, %eax addq $96, %rsp popq %rbp ret This is the only part which seems to be relevant.
-
Please read this post before creating a thread on GPU Performance Issues, as it will help you get faster, better, stronger help from the community. (Assuming the steps below don't empower you to fix it yourself.) 02/07/2024 Nvidia GPU and affecting web browser scrolling? Check out this driver: https://nvidia.custhelp.com/app/answers/detail/a_id/5519/~/geforce-hotfix-driver-version-551.46 ASSUMPTIONS MADE IN THIS GUIDE: That your issue isn't a KNOWN ISSUE. To check, search the AMD, Nvidia and Intel Knowledge bases for the word "stutter" and see if they list any known issues that describe your issue. The PC boots and runs with some modicum of stability The GPU(s) display to your monitor without issues (i.e., this is not a guide for blank screen issues during boot!) If it's issues with games, ideally it's not game-specific (You're welcome to try this guide, but it's less-likely to work if the issues only happen in a specific game) The operating system is Windows 10 or Windows 11 HOUSE KEEPING: Before asking for help (do not reply here), do all of these (house keeping) things first: ASKING FOR HELP COLLECT DATA FOR TROUBLESHOOTING FIRST MAKING YOUR NEW TOPIC/POST If you want fast, expedient help from the volunteers, make a new topic in the Troubleshooting forum (not here in the Guides) Already have a post in Troubleshooting? Don't make a new topic! Just edit the original post and provide the information below: 🫸 Replying to this post to get help We see you! Start a new topic please! If you have questions about the guide itself, found a mistake, have recommendations, etc. reply below and let me know!
-
- gpu underperformimg
- microstutter
-
(and 3 more)
Tagged with:
-
I'm wanting to prepare my build for higher FPS in Counter-Strike because I'm getting a 360hz monitor delivered tomorrow. I ran benchmarks for like two hours earlier today, and I believe I'm getting CPU bottlenecked, but I can't tell. Running at all high settings at 1080p gets me around 230FPS, but the whole time my CPU isn't getting above 30% usage. My GPU fluctuates between 40% and 80% throughout the test, mostly dipping in FPS when going through the smoke on the workshop map. I've also considered my memory as an issue, as I'm running mismatched 4GB sticks in dual-channel and one 16GB stick in single. I also have a somewhat cheap motherboard, so I don't know how much benefit I'll really have from just upgrading my CPU, if that's my issue. Specs: Ryzen 2700x NVIDIA RTX 3060Ti Gigabyte B450M DS3H 24GB memory (2x4, 1x16) Corsair RM750 2TB M.2, 1TB HDD
-
Hi Right now I'm choosing my pc and I'm at the stage of choosing my gpu. I want a pc optimized for playing COD and I heard cod would be more optimized on amd than nvidia so I looked at the bench (which I obviously take with a grain of salt) and it turns out rather TRUE. I made a choice between the 4070 ti and the 7900 xt. And I wanted to know your opinion. Configuring my pc 13700 kf 32GB 3200MHz thank you for your reply
-
Hi: I am seeking help to optimize my system. (Soft overclocking) - (not heavy overclocking) PC mostly used for: FPS games and games like assassins creed Case: corsair 1000D MB: ASUS ROG MAXIMUS XII EXTREME CPU: I9-10900k GPU: ASUS GeForce GTX 1060 6GB ROG Strix OC (Hopefully 3080TI soon) RAM: G.SKILL tridentZ Royal DDR4-4600 CL18-22-22-42 1.45v (4x8gb) (locked at 2133MHz) (would like to boost the ram) PSU: ASUS Thor 1200p (1200W) CPU cooler: (custom) water route = from Hydrop x - XD5 to Top: 1 x 420mm with push 3 x corsair QL140 fans to Front: 2 x corsair XR7 480mm with push/pull - 16 x corsair QL120 fans back to Hydrop x - XD5 (CPU temp 24celcius idle / 31celcius under cinebench) Windows on: Seagate Firecuda 520 (500GB) Game library on: Samsung 970 EVO plus (1TB) All Bios Settings set to default (CPU unlocked)
- 4 replies
-
- bios settings
- settings
- (and 4 more)
-
How does the PC optimizer manage to push the fps limit in game like Warzone? From what I see the PC spec really ntg special, it's a high-end spec I get it, but he managed to push it to 300++ fps in Warzone is really a bit unreal. Some overclocking, I believe? Anyone knows how is he able to do it? He is providing services for many Streams and also selling the "Optimized" PC for insane price. https://twitter.com/KIRNEILL/status/1478500236704296963 https://twitter.com/TunedPC https://twitter.com/SenseQuality
- 6 replies
-
- optimizations
- optimization
-
(and 1 more)
Tagged with:
-
What performance am I leaving on the table?
kingfurykiller posted a topic in New Builds and Planning
Budget (including currency): $2500 (already invested, over 5 years) Country: USA Games, programs or workloads that it will be used for: Gaming (1080p, closest to 144hz I can get, best setting I can get). Most demanding title I own is Halo Infinite, Assassin's creed games coming next. Some office/admin work; web-browsing, discord, VERY light virtualization while I try to teach myself linux, some network simulation software. Possible blu-ray ripping in the future. Other details: I have already completed this build, I am looking to know what I can adjust to get the most out of the core components: Full details are in my profile, but here are the core bits: i7-7700k (cooled by Hyper Evo 212, stock clocks) RXT 2070 SUPER (gigabyte windforce, stock clocks) gigabyte GA-z170XP-SLI ATX g-skill ripjaws 16 GB DDR4 (2133 MHz) samsung 970 EVO pro 500GB EVGA 750W 6 case fans that I don't mind being loud because i'm usually gaming with headphones primary gaming monitor is 27in, 1080p, 144hz. That is not changing anytime soon Windows 10, also not changing anytime soon CPU usually hits ~55C in games, GPU ~65C, I did apply a more aggressive fan curve in BIOS I know the biggest thing I could do is start looking into overclocking the CPU or GPU. I've done basic software optimization in windows like checking power settings, disabling unwanted software, etc. Most of the time this machine performs very well; struggled in Halo Infinite (new, demanding game) and some Assassin's Creed titles (ubisoft has poor software optimization). I will likely not be buying more hardware for this build soon (home server is the next project that I can justify the cost/benefit for). So the only way to make this rig better is config. I'll be honest, I've never overclocked other than the software utility on my original Asus 750 Ti, and it didn't do anything. What should I be looking at the make this build better, that I can do with existing equipemnt? Thanks in advance -
Hey all, I'm a new member because my PC is acting a bit strange. I built my current rig in late 2017, and I still have it. The parts list is as follows: i7 7740x (4c 8t 4.3 ghz) Corsair H60 rev 1 liquid cooler a cheap-ish asrock motherboard (i'll have the exact model soon enough, currently a bit pre-occupied) 16gb corsair rgb (also rev 1) 3200 mhz GTX 1060 Optane accelerated boot drive 600W corsair builder psu (bronze certification i believe) Latest version of both video card drivers and Windows (bios is most likely super outdated) 1440p 144hz monitor and a 1080p vertical monitor My issue is this: I recently moved out to a dorm room instead of my old space. About 1 week after the move happened, my CPU usage started to get a bit absurd. Usually it ran at about 20-40% usage when 1 light to medium game and a chrome tab are open at the same time, CoD cold war would use about 80% of my CPU and run at around 80 frames with discord, youtube and wallpaper engine all running. Memory usage is also around 40-50 under the same conditions Once I moved CPU usage spiked at around 50-90% under the same conditions. CoD Cold War maxes out the cpu and runs under 60 frames if I don't close youtube, wallpaper engine, etc. Ram usage also spiked a bit and will go up to 60 or 70% sometimes (which I'm less concerned about) My CPU is not overclocked, is not overheating (I rearranged the fans around, and the CPU runs at mid 70s to low 80's usually), and I have changed nothing about the system aside from a new 1440p 144hz monitor (I used to run 3 1080p monitors so I doubt a monitor change is the issue). I've consulted friends and heard that I should try and run my ram at higher speeds, and to turn on XMP. So I tried all the solutions my brain could think of. Well, I upped the ram speed slightly in the bios to 2666 instead of the 2000 it was at for some reason. Anything higher than 2666 caused issues so I'm guessing it was a power issue (since I didnt up the voltage) and XMP almost bricked my entire system (again probably due to a lack of voltage). The faster ram speed did nothing to help (that I noticed at least) and while I do know my way around hardware, bios settings and ram and cpu overclocking/undervolting/optimization are a bit out of my wheelhouse. What would likely be the cause of this? I know RAM speed or XMP could probably help ease the load off the CPU, or possibly updating the 4+ year old BIOS on the system would help. I also haven't wiped windows, ever, but I've heard sometimes that a wipe tends to help a bit. Any other technical/BIOS fixes that the wizards on here know about, or is it just time for me to just buy a new system?
- 2 replies
-
- cpu
- optimization
-
(and 2 more)
Tagged with:
-
Hi I have an Acer nitro 5 spin with an i7 8550u cpu and and a gtx 1050 mobile gpu. The laptop is around 2 years old and started running at load temps of 95. So i cleaned it up and bought some thermal grizzly kryonaut and changed the thermal paste. This gave me idle temps of 50 and load temps maxing out at 70. The issue currently is that this model has a stupid heatsink config where the heat pipes for the gpu and cpu run together and one of the two fans do not start working until the gpu is in process. I have no control over this cause the bios is old and locked. Tried NBFC and couldn't find a working config for my model. I used throttle stop to disable my power limits because by default the on load the cpu maxes at 2.5 ghz which is too less for me. Currently whils gaming I have got it to work at 3.3 ghz constant at max temp reaching 81. This although better than before, makes me want to bring my temps down to 70. I've already undervolted cpu and cpu cashe to -125ma through throttle stop and made all my cores a constant of 3.8. Long power limit 22 and short power limit currently 26 with a turbo time of 1 second. Also enabled speed shift and kept value to 0 and disabled BD_PROCHOT. Now I feel to bring temps down further ill need to undervolt my gpu. Looking at videos online and using afterburner is not working though. As soon as install it I get bluescreens and pink screens on occasions. After uninstalling it the laptop works fine. Aida 64 on cpu and fpu load is stable but when gpu stress it on task manger my gpu is very inconsistent with the graphs going ups and down at a very fast pace. The dedicated gpu however remains at a stable 100% load. If anyone has any idea what i should do or what i did wrong pls let me know. Curently its working fine with no crashes. Also on idel my CO% is very weird with them being around 15% 11% 5% 12% respectively.
- 1 reply
-
- undervolt
- optimization
-
(and 2 more)
Tagged with:
-
Hi, I want to undervolt AMD Ryzen 5 3600X for the sole purpose of reducing it's idle and workload temperatures and keep it running under stock speeds. Is this possible without overclocking? I am using stock cooler and don't want to change it. My motherboard is Gigabyte B450 Aorus Elite, revision 1.0 with latest BIOS. Thanks.
- 3 replies
-
- undervolting
- overclocking
-
(and 3 more)
Tagged with:
-
One rule: keep it on the CPU, no drivers, and no internet/browser stuff. All I have is a MacBook Pro Retina with a 750M inside, and none of the enterprise tools to handle validation.
- 15 comments
-
- c++
- programming
-
(and 1 more)
Tagged with:
-
Seriously game devs, it's not that hard. Get with the times. This would be part of the main class And this would be the chief graphics object from which near every other graphics object should inherit from. There, 80+% of your CPU-side optimization done for you. Quit your belly aching, start over, and do it right this time. There's no excuse when it's this easy.
-
So X-Plane has this cool overlay feature that shows your CPU vs GPU frame times. As I understand, this will definitively tell you if you are CPU or GPU bottle-necked, by indicating which of the two is spending more time processing each frame (on average). Shown here, we see the CPU is the clear bottle-neck, and is spending over 50% more time processing each frame. So my question is, does a similar application exist that will work with any game? When using something like Afterburner, you can easily spot a CPU bottleneck when your GPU is at low utilization. Similarly, if my GPU is close to 95%+ utilization, we can safely say that my GPU is the bottleneck. However, since most games cannot fully utilize all cores in most CPU's, how can one determine how severely your GPU is bottle-necking your CPU? For example, if my GPU is at 60% utilization, I know that (assuming the game is capable of full utilization) I am losing roughly 40% of my GPU's full potential. On the flip side, if my GPU is at 100%, and my (lets say quad core) CPU is running at 50% utilization, I can never be sure how much potential I am losing without knowing how capable the game is of utilizing my entire CPU. In this scenario, you could suggest reducing my resolution to remove my GPU bottleneck, and to then compare my frame rates (or CPU utilization) when my CPU is instead the bottle-neck. But wouldn't lowering the resolution still offload a small workload from my CPU? I understand I am probably overthinking this, but it seems like a tool like X-Plane's would be super useful for precisely (and quickly) measuring the severity of a GPU bottleneck. Honestly not sure if any of this makes sense. Been running off 30 seconds of sleep and a cereal bar for the past few days. But if anyone has a solution to this, or can at least correct my ignorance, it would be much appreciated EDIT: I also know I can just look at other benchmarks to determine how well a specific game can utilize any given CPU, but still, I think a tool like this would be easier.
- 3 replies
-
- bottle-neck
- frame rate
-
(and 3 more)
Tagged with:
-
Long time Apple user finally jumping ship to a custom PC and Windows. What optimization/tips/tricks/useful software do you suggest to get windows 10 pro to run the best. Also suggested must have software (so far i'm going to add avast, malwarebytes, & camwebapp) Thanks
-
In one discussion I learned that final cut pro is much faster than adobe premiere. After doing lot of googling I was not sure if both of these programs do the same work. Mostly because I have zero experience in this field. One of the reason was that its optimised for Mac, but Mac use different CPUs and different GPUs also RAM speeds are different for each version of hardware they sell. Is it possible to optimize software so much that you get render times so drastically different? So if someone could please explain me if its 5x faster due to insane optimization potencial for apps for Mac OR some way that Final cut outputs worse quality (or is it somehow doing much less work?) Thank You
-
Hello! I have a HP laptop, and I'd love to optimize it; However, I don't have the tech know-how to do this safely. I am a 16 Year old, and therefore don't have the money to buy anything, so I'd like to focus on software changes I can make to improve my PCs performance. I don't want to do anything that would compromise my computer, seeing as I use it for my High School and College work. Any input is appreciated, thanks! Tech Information Model: HP W2M88UA#ABA Software Build ID: 16WW2CET603#SABA#DABA Motherboard ID: 81F9 Feature byte:3Q5F6b7K7P7WaBapaqasauawbhbpbzcbdUdpdq.5Q OS version:ML BIOS:F.03-04/27/2016 Keyboard revision:67.26 Total memory: 6.00 GB Processor name: AMD A10-9600P RADEON R5, 10 COMPUTE CORES 4C+6G 2.40 GHz System Type: 64-bit OS
- 9 replies
-
- optimization
- pc
-
(and 2 more)
Tagged with:
-
My architectural rendering (one scene) crashed while rendering overnight, due to memory running out. I'm rendering in an A0 format at 100dpi, the file size of the model is around 90MB. Texture sizes (31) are never larger than 4MB. I attached my render settings and a scene screenshots for more information. Is something here obviously too much for my specs? What can I optimize to get the scene working? Help is greatly appreciated! System Specs: 3770K 32 GB RAM Windows 10 GTX 1070 C4D 18 Student Version
- 2 replies
-
- cinema 4d
- architecutral rendering
-
(and 2 more)
Tagged with:
-
Hello! I just migrated from a Windows 7 PC to a Windows 10 one. The installation went smooth and i have downloaded all available updates and drivers for my hardware. I just noticed that Windows 10 boots slower that Win 7 and on the other hand, shuts down faster. Is this normal? Moreover, i noticed connection lags while playing my usual games (CS:GO, Dota 2, etc.). Is this caused by the OS? How do i fix it? Software Affected: Most games on steam, other standalone online games. Specs: Windows 10 PRO 65-bit AMD A10 7860k Black Edition 4.0 Ghz Crucial Ballistix Sport 2x4GB @ 1866mhz Dual-Channel DDR3 Seagate Barracuda 320GB HDD 7200rpm Palit Geforce GTX 1050 StormX 2GB GDDR5 EMAXX FM2+ iCafe Motherboard Seasonic 700w PSU Deepcool Gamma Archer CPU Cooler 3x 120MM LED Case Fans Thanks in advance!
- 10 replies
-
- windows 10
- optimization
-
(and 1 more)
Tagged with:
-
Hi, I currently have quick-books 2016 enterprise running in multi-user-mode for POS at a local shop (not my choice). The current setup has all terminals remoting onto VM's on the server. Im using VMware Workstation 12. The servers OS along with the VM's OS is Windows Server 2012. Each VM has 6 dedicated cores with 10GB ram. There are 6 VM's. The server is a Dell R630 with (2) 2699A-v4 Xeons with 64GB DDR4 ECC 2400MT/S and (4) Intel 750 series 800GB NVME SSD in raid 5. Now my problem is the program lags BAD, opening a file is slow, running a transaction is slow, multiple users generating reports causes other users to crash. IT takes 2 minutes to open the god damn file. The file has been trimmed and optimized recently. Ive literately thrown the best hardware i can at the problem. Any Ideas anyone?
- 2 replies
-
- quickbooks
- software
-
(and 1 more)
Tagged with:
-
Good morning/afternoon, LTT community I have a question about my planned new gaming/rendering/steaming rig. The case is a Cool Master MasterCase Pro 5. As you can see from the attracted image, is this the best optimize for cooling? Not really familiar with this type of case
-
Hello all, I live in a rural southern town with poor data infrastructure. As many of you experience, I'm getting about 1/3 of the speed that is advertised. It's an ATT DSL connection run through a TP-Link TD-8616 modem to a Linksys EA6350. Basically one task can be run at a time and if someone else tries to do something on the internet it bottoms out. I know there are settings I can adjust but whether that'll help, I don't know. Anything I can do to optimize my connection would be ideal. Thanks in advance for any assistance.
- 19 replies
-
- dsl
- networking
-
(and 3 more)
Tagged with:
-
Hi, I was thinking that Xbox's and PS4's have games optimized for them and can run most games fine even though they have bad hardware.What if we could get enough people to start a petition to get game developers to optimize games even more for a specific hardware configuration. Also if a lot of people bought all those parts they would probably become cheaper. And instead of having to pay thousands for the best PC ever a $500 or maybe even less could play it the same. Put a link to a PC part picker build in the description that you think would be a good idea. Maybe a $400, $500, and $1000 Build. Thanks
-
I recently bought a ZOTAC GeForce GTX 750 Ti 2GB gcard for my old rig. The reason I choose this is because I need a card that my motherboard and CPU can support. This is the only one I can find that doesn't need an 8 pin connector and compatible with the old rig without bottlenecking. My Rig: CPU: Intel® Core™ i3-2120 Processor GCard: ZOTAC GeForce GTX 750 Ti 2GB RAM: (2x) 4gb Kingston DDR3 1600mhz Motherboard: ECS H61H2-M12 PSU: Generic 700w power supply 600watts ORION ATX-600w plus 2 fans (1 intake, 1 outtake) MY question is, what are the best optimization/settings for this kind of rig with and without overclocking? (no water-cooling) Advance thanks for those who reply.
-
I want to make a pc for moderate level indie game development and running a bunch of Sims during my undergrad. What under $1000 optimized pc ahould I build. Would this work?Is the gpu bottlenecked? IntelCore i7 6700 Processor Asus H110-mk Board Cooler Master MA-620P Cooler Corsair VS-550 Powersupply Samsung SSD 860-EVO 500GB Reddragon Sideswipe GD-601 Case AsusStrix Geforce 1070ti 8GB (2.5 Years Warranty Left) Ram 8Gb kingston ddr 4
- 1 reply
-
- building
- optimization
-
(and 1 more)
Tagged with:
-
Okay so its my first time on this new Pc and I need help optimizing the experience. By that I mean it runs pretty hot at idle and under load it is the stock cooler that came with my 3600x but I used Thermal Grizzly Kryonaut thermal grease instead of the stock paste. 35 to 45c idles with random cpu utilization spikes and under load 65 to 75c. iv'e heard of under volting and tweaking settings in the bios but Im lost when it comes to amd's layout. I came from an old I7 platform. Also seems the cpu doesnt really ever fully idle or drop to base frequency im not sure if this is normal or not. my 4770k OC would go from 4.4Ghz to even under base frequency at idle sometimes going as low as 3.00GHz. chipset and drivers are up to date! FULL PC SPECS CPU: AMD Ryzen 5 3600x stock speeds RAM: 16GB Corsair Vengeance RGB PRO using xmp profile @3600Mhz MOBO: Asus Tuf Gaming X570-PLUS latest bios. GPU: Asus Dual GTX 1060 6GB PSU: Corsair Gaming Series 800W 80+ bronze SSD: Sandisk 256GB SSD: Samsung 850 EVO 250GB HDD: 2 3TB Western Digital NasDrives
- 11 replies
-
- processors
- advanced micro devices
-
(and 2 more)
Tagged with: