• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Technical Issues - TPU Main Site & Forum (2024)

Joined
Sep 26, 2022
Messages
1,914 (2.69/day)
Location
Brazil
System Name G-Station 1.17 FINAL
Processor AMD Ryzen 7 5700X3D
Motherboard Gigabyte X470 Aorus Gaming 7 WiFi
Cooling DeepCool AK620 Digital
Memory Asgard Bragi DDR4-3600CL14 2x16GB
Video Card(s) Sapphire PULSE RX 7900 XTX
Storage 240GB Samsung 840 Evo, 1TB Asgard AN2, 2TB Hiksemi FUTURE-LITE, 320GB+1TB 7200RPM HDD
Display(s) Samsung 34" Odyssey OLED G8
Case Thermaltake Level 20 MT
Audio Device(s) Astro A40 TR + MixAmp
Power Supply Cougar GEX X2 1000W
Mouse Razer Viper Ultimate
Keyboard Razer Huntsman Elite (Red)
Software Windows 11 Pro
So the biggest threat to TPU is not TomsHardware but W1zzard himself. :toast:

This Is Getting Weird Doctor Strange GIF by Regal
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,505 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
Ads are still disabled because the backup for that huge ads log table is still restoring
Edit: This is taking too long, still not even a significant percentage done .. restoring that table to an "archive" table (estimated a few hours), so that we can start serving ads in the meantime, so that we can try to give our advertisers the promised impressions for today, and make some $$ while we're at it
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
26,547 (3.81/day)
Location
Alabama
System Name RogueOne
Processor Xeon W9-3495x
Motherboard ASUS w790E Sage SE
Cooling SilverStone XE360-4677
Memory 128gb Gskill Zeta R5 DDR5 RDIMMs
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 2TB WD SN850X | 2x 8TB GAMMIX S70
Display(s) Odyssey OLED G9 (G95SC)
Case Thermaltake Core P3 Pro Snow
Audio Device(s) Moondrop S8's on schitt Modi+ & Valhalla 2
Power Supply Seasonic Prime TX-1600
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11 Pro Workstation
Benchmark Scores I dont have time for that.
Edit: This is taking too long, still not even a significant percentage done .. restoring that table to an "archive" table (estimated a few hours), so that we can start serving ads in the meantime, so that we can try to give our advertisers the promised impressions for today, and make some $$ while we're at it

Time to get hellla complex and do sharding....but then distribute those with there own hot standbys.
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,505 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
Time to get hellla complex and do sharding....but then distribute those with there own hot standbys.
Too complex for just a log table (also for legal) that usually chugs along fine, because it's write-only, until the logs archiver deletes a few million rows from time to time (rate-limited).

The actionable logs for the frontend are in other tables, which are much smaller

Adding a Kafka is too complex, too. In the past I had them in text files, but analyzing the data was too complicated. Nowadays, considering how I can ask ChatGPT to write me a custom Python-based log analyzer software in 30 seconds, it might be worth rethinking this.

Edit: now that I have Kubernetes and spinning up stuff is so easy, even in some random DC where resources are cheap, moving all this logs stuff off the main boxes could be worth it
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
26,547 (3.81/day)
Location
Alabama
System Name RogueOne
Processor Xeon W9-3495x
Motherboard ASUS w790E Sage SE
Cooling SilverStone XE360-4677
Memory 128gb Gskill Zeta R5 DDR5 RDIMMs
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 2TB WD SN850X | 2x 8TB GAMMIX S70
Display(s) Odyssey OLED G9 (G95SC)
Case Thermaltake Core P3 Pro Snow
Audio Device(s) Moondrop S8's on schitt Modi+ & Valhalla 2
Power Supply Seasonic Prime TX-1600
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11 Pro Workstation
Benchmark Scores I dont have time for that.
Too complex for just a log table (also for legal) that usually chugs along fine, because it's write-only, until the logs archiver deletes a few million rows from time to time (rate-limited).

The actionable logs for the frontend are in other tables, which are much smaller

Adding a Kafka is too complex, too. In the past I had them in text files, but analyzing the data was too complicated. Nowadays, considering how I can ask ChatGPT to write me a custom Python-based log analyzer software in 30 seconds, it might be worth rethinking this.

Edit: now that I have Kubernetes and spinning up stuff is so easy, even in some random DC where resources are cheap, moving all this logs stuff off the main boxes could be worth it

I would. Of course in the intrim, you could just knock out a python script to do what you were attempting to to begin with just you know, without the INSERT. Bonus points if you do the original read into RAM so you are not beating the shit out of the disk.
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,505 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit

Frick

Fishfaced Nincompoop
Joined
Feb 27, 2006
Messages
19,215 (2.84/day)
Location
Piteå
System Name White DJ in Detroit
Processor Ryzen 5 5600
Motherboard Asrock B450M-HDV
Cooling Be Quiet! Pure Rock 2
Memory 2 x 16GB Kingston Fury 3400mhz
Video Card(s) XFX 6950XT Speedster MERC 319
Storage Kingston A400 240GB | WD Black SN750 2TB |WD Blue 1TB x 2 | Toshiba P300 2TB | Seagate Expansion 8TB
Display(s) Samsung U32J590U 4K + BenQ GL2450HT 1080p
Case Fractal Design Define R4
Audio Device(s) Line6 UX1 + some headphones, Nektar SE61 keyboard
Power Supply Corsair RM850x v3
Mouse Logitech G602
Keyboard Cherry MX Board 1.0 TKL Brown
Software Windows 10 Pro
Benchmark Scores Rimworld 4K ready!

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
26,547 (3.81/day)
Location
Alabama
System Name RogueOne
Processor Xeon W9-3495x
Motherboard ASUS w790E Sage SE
Cooling SilverStone XE360-4677
Memory 128gb Gskill Zeta R5 DDR5 RDIMMs
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 2TB WD SN850X | 2x 8TB GAMMIX S70
Display(s) Odyssey OLED G9 (G95SC)
Case Thermaltake Core P3 Pro Snow
Audio Device(s) Moondrop S8's on schitt Modi+ & Valhalla 2
Power Supply Seasonic Prime TX-1600
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11 Pro Workstation
Benchmark Scores I dont have time for that.
What software would you use to store the data? It's not "a lot", maybe a few hundred gigs per year

I meant specifically I would re-think it.

If It were me, at this point I would just fragment it. Not shard, but instead; given the need to poll this data, I would remove it from the main DBs, and instead spin up another that contains these rows. If nothing else, I would run exports/live syncs of those rows at regular intervals (if I didnt remove them from the main DBs) so I could query that data at will without putting the strain on the main data bases. It sounds like thats really what you were trying to do to begin with, but I think like you said, you got impatient, because, well you needed the data now. I would split off (the first sync is gonna take a bit) and then just keep those specific tables sync'd.

This is a lot cheaper of an idea then implementing sharding, or having some software store and recall this data at will. Like you said, I would keep the backups ofc, but move these specific rows to its own box in its own aux DB so I could touch it when I want. Since there is a biz need. You could realistically make it even more simple and leave those rows included in the main DB because %reasons% (legacy API calls, peace of mind w/e) and simply sync it. Then you arent even modifying the integrity of the main DBs, you are just duplicating a specific subset of data you want to be able to hit whenever you want. With the added benefit of not touching prod but still reletively fresh data.

At the point of having that broken off DB then you could use w/e software you see fit. You could open it in Access if you really wanted to.
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,505 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
because %reasons%
I am willing to make a change. It would reduce the size of our DB considerably, and separate mostly-content-related data and logs.

I control all legacy code, so np at all. Actually I'm migrating most of this code from PHP to .NET, another "free-time" project

or having some software store and recall this data at will
I do know MySQL and the tooling very well, which might beat learning how to use yet another hammer
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
26,547 (3.81/day)
Location
Alabama
System Name RogueOne
Processor Xeon W9-3495x
Motherboard ASUS w790E Sage SE
Cooling SilverStone XE360-4677
Memory 128gb Gskill Zeta R5 DDR5 RDIMMs
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 2TB WD SN850X | 2x 8TB GAMMIX S70
Display(s) Odyssey OLED G9 (G95SC)
Case Thermaltake Core P3 Pro Snow
Audio Device(s) Moondrop S8's on schitt Modi+ & Valhalla 2
Power Supply Seasonic Prime TX-1600
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11 Pro Workstation
Benchmark Scores I dont have time for that.
I do know MySQL and the tooling very well, which might beat learning how to use yet another hammer

Thats what im saying, just split it off, DBs are pain.

EDIT: If you put it on another box too, your only loading that box with queries, so beyond hitting the DB your not burning CPU cycles.
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,505 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
which might beat learning how to use yet another hammer
Hmm ClickHouse seems to be a good fit. Free, open source. Any experience?

edit: woot, supported in adminer, backup and restore to s3, import directly from mysql server
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
26,547 (3.81/day)
Location
Alabama
System Name RogueOne
Processor Xeon W9-3495x
Motherboard ASUS w790E Sage SE
Cooling SilverStone XE360-4677
Memory 128gb Gskill Zeta R5 DDR5 RDIMMs
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 2TB WD SN850X | 2x 8TB GAMMIX S70
Display(s) Odyssey OLED G9 (G95SC)
Case Thermaltake Core P3 Pro Snow
Audio Device(s) Moondrop S8's on schitt Modi+ & Valhalla 2
Power Supply Seasonic Prime TX-1600
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11 Pro Workstation
Benchmark Scores I dont have time for that.
Hmm ClickHouse seems to be a good fit. Any experience?

None personally, but I have heard of them and we were looking into using them on our failure rate DBs. I left that team during testing, but I didnt really hear any complaints. Bonus points for being FOSS.
 

OneMoar

There is Always Moar
Joined
Apr 9, 2010
Messages
8,784 (1.67/day)
Location
Rochester area
System Name RPC MK2.5
Processor Ryzen 5800x
Motherboard Gigabyte Aorus Pro V2
Cooling Thermalright Phantom Spirit SE
Memory CL16 BL2K16G36C16U4RL 3600 1:1 micron e-die
Video Card(s) GIGABYTE RTX 3070 Ti GAMING OC
Storage Nextorage NE1N 2TB ADATA SX8200PRO NVME 512GB, Intel 545s 500GBSSD, ADATA SU800 SSD, 3TB Spinner
Display(s) LG Ultra Gear 32 1440p 165hz Dell 1440p 75hz
Case Phanteks P300 /w 300A front panel conversion
Audio Device(s) onboard
Power Supply SeaSonic Focus+ Platinum 750W
Mouse Kone burst Pro
Keyboard SteelSeries Apex 7
Software Windows 11 +startisallback
anybody else get a random api timeout today?

also FOSS stands for the following
Fairly Outdated Security Standards
Fails Over Saturday Sunday
Frustrating Open Source Shenanigans
Free Offen Shoddy Software
Frequently outdated software stack
 
Joined
Aug 4, 2020
Messages
1,603 (1.07/day)
Location
::1
Edit: This is taking too long, still not even a significant percentage done .. restoring that table to an "archive" table (estimated a few hours), so that we can start serving ads in the meantime, so that we can try to give our advertisers the promised impressions for today, and make some $$ while we're at it
damn, the homepage looks so weird and empty now ... am i correctly assuming it's still on safemode w/o ads being served?
 
Joined
Feb 18, 2005
Messages
5,657 (0.79/day)
Location
Ikenai borderline!
System Name Firelance.
Processor Threadripper 3960X
Motherboard ROG Strix TRX40-E Gaming
Cooling IceGem 360 + 6x Arctic Cooling P12
Memory 8x 16GB Patriot Viper DDR4-3200 CL16
Video Card(s) MSI GeForce RTX 4060 Ti Ventus 2X OC
Storage 2TB WD SN850X (boot), 4TB Crucial P3 (data)
Display(s) 3x AOC Q32E2N (32" 2560x1440 75Hz)
Case Enthoo Pro II Server Edition (Closed Panel) + 6 fans
Power Supply Fractal Design Ion+ 2 Platinum 760W
Mouse Logitech G602
Keyboard Razer Pro Type Ultra
Software Windows 10 Professional x64
At this point I realized that I mistyped the timestamp (2x "-01"), so it actually was actually copying ~70 GB of small rows into a temp table, and was now rolling them back one-by-one
Presumably that caused MySQL to treat it as `select *`? That's a yikes if so... explicit errors instead of trying to massage user input is always preferable.
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,505 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
damn, the homepage looks so weird and empty now ... am i correctly assuming it's still on safemode w/o ads being served?
won't be long

edit: fixed
 
Last edited:
Joined
Sep 26, 2022
Messages
1,914 (2.69/day)
Location
Brazil
System Name G-Station 1.17 FINAL
Processor AMD Ryzen 7 5700X3D
Motherboard Gigabyte X470 Aorus Gaming 7 WiFi
Cooling DeepCool AK620 Digital
Memory Asgard Bragi DDR4-3600CL14 2x16GB
Video Card(s) Sapphire PULSE RX 7900 XTX
Storage 240GB Samsung 840 Evo, 1TB Asgard AN2, 2TB Hiksemi FUTURE-LITE, 320GB+1TB 7200RPM HDD
Display(s) Samsung 34" Odyssey OLED G8
Case Thermaltake Level 20 MT
Audio Device(s) Astro A40 TR + MixAmp
Power Supply Cougar GEX X2 1000W
Mouse Razer Viper Ultimate
Keyboard Razer Huntsman Elite (Red)
Software Windows 11 Pro
Still going through some 502 Bad Gateway's and some sluggishness since the big 502 yesterday.
 
Joined
Feb 1, 2019
Messages
3,179 (1.56/day)
Location
UK, Midlands
System Name Main PC
Processor 13700k
Motherboard Asrock Z690 Steel Legend D4 - Bios 13.02
Cooling Noctua NH-D15S
Memory 32 Gig 3200CL14
Video Card(s) 4080 RTX SUPER FE 16G
Storage 1TB 980 PRO, 2TB SN850X, 2TB DC P4600, 1TB 860 EVO, 2x 3TB WD Red, 2x 4TB WD Red
Display(s) LG 27GL850
Case Fractal Define R4
Audio Device(s) Soundblaster AE-9
Power Supply Antec HCG 750 Gold
Software Windows 10 21H2 LTSC
Some 502s in last 5-10 minutes.
 
Joined
Feb 18, 2005
Messages
5,657 (0.79/day)
Location
Ikenai borderline!
System Name Firelance.
Processor Threadripper 3960X
Motherboard ROG Strix TRX40-E Gaming
Cooling IceGem 360 + 6x Arctic Cooling P12
Memory 8x 16GB Patriot Viper DDR4-3200 CL16
Video Card(s) MSI GeForce RTX 4060 Ti Ventus 2X OC
Storage 2TB WD SN850X (boot), 4TB Crucial P3 (data)
Display(s) 3x AOC Q32E2N (32" 2560x1440 75Hz)
Case Enthoo Pro II Server Edition (Closed Panel) + 6 fans
Power Supply Fractal Design Ion+ 2 Platinum 760W
Mouse Logitech G602
Keyboard Razer Pro Type Ultra
Software Windows 10 Professional x64
Stop running bad SQL queries, W1zz :p
 
Joined
Jul 30, 2019
Messages
2,979 (1.60/day)
System Name Not a thread ripper but pretty good.
Processor Ryzen 9 5950x
Motherboard ASRock X570 Taichi (revision 1.06, BIOS/UEFI version P5.50)
Cooling EK-Quantum Velocity2, EK-Quantum Reflection PC-O11, D5 PWM, EK-CoolStream PE 360, XSPC TX360
Memory Micron DDR4-3200 ECC Unbuffered Memory (4 sticks, 128GB, 18ASF4G72AZ-3G2F1) + JONSBO NF-1
Video Card(s) XFX Radeon RX 5700 & EK-Quantum Vector Radeon RX 5700 +XT & Backplate
Storage Samsung 2TB & 4TB 980 PRO, 2TB 970 EVO Plus, 2 x Optane 905p 1.5TB (striped), AMD Radeon RAMDisk
Display(s) 2 x 4K LG 27UL600-W (and HUANUO Dual Monitor Mount)
Case Lian Li PC-O11 Dynamic Black (original model)
Power Supply Corsair RM750x
Mouse Logitech M575
Keyboard Corsair Strafe RGB MK.2
Software Windows 10 Professional (64bit)
Benchmark Scores Typical for non-overclocked CPU.
anybody else get a random api timeout today?

also FOSS stands for the following
Fairly Outdated Security Standards
Fails Over Saturday Sunday
Frustrating Open Source Shenanigans
Free Offen Shoddy Software
Frequently outdated software stack
I'll just add one more... Forgot Original Stackoverflow Source
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,505 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
Still going through some 502 Bad Gateway's and some sluggishness since the big 502 yesterday.
Yeah still working on some recovery .. 502s earlier todaywere caused by some eager timeout settings on mysql-router, so declared our main instance as unhealthy and blocked i :/
 
Top