IST Weather: Kochi 28°C · Thiruvananthapuram 28°C Gold 24K: ₹1,23,276 👁 Visitors: 187
KeralamAINews
കേരളം വാർത്തകൾ — പുതിയ കാഴ്ചപ്പാട്
News. Intelligence. Trust.
Kerala (All 14 Districts) | Kochi | India | Gulf & World
🔍
HOT NEWS
Tech & AI AI & Robotics

Why your DGX Spark cluster runs at half speed, and the 5-minute fix

എന്തുകൊണ്ടാണ് നിങ്ങളുടെ DGX സ്പാർക്ക് ക്ലസ്റ്റർ പകുതി വേഗതയിൽ പ്രവർത്തിക്കുന്നത്, കൂടാതെ 5 മിനിറ്റ് ഫിക്സും

Source: XDA Developers • 2h ago • 👁 0 visitors • Original Source ↗
🔍 Text Zoom: 100% · Tap photo to zoom
Why your DGX Spark cluster runs at half speed, and the 5-minute fix
AI News Brief

I have three Nvidia DGX Sparks on my desk, and two of them spent six days wired together while I tried three ways to train my own ChatGPT from scratch. The profiling pass afterward caught something ugly: one Spark was running its GPU at roughly a quarter of its usual clock speed, and nothing on any dashboard said so. There were no thermal warnings and no throttle flags, and utilization sat near 100%.

എൻ്റെ മേശപ്പുറത്ത് മൂന്ന് എൻവിഡിയ ഡിജിഎക്‌സ് സ്പാർക്കുകൾ ഉണ്ട്, അവയിൽ രണ്ടെണ്ണം ആറ് ദിവസം ഒരുമിച്ച് വയർ ചെയ്‌ത് ചെലവഴിച്ചു, എൻ്റെ സ്വന്തം ചാറ്റ്‌ജിപിടിയെ ആദ്യം മുതൽ പരിശീലിപ്പിക്കാൻ ഞാൻ മൂന്ന് വഴികൾ പരീക്ഷിച്ചു. പിന്നീടുള്ള പ്രൊഫൈലിംഗ് പാസിൽ വൃത്തികെട്ട എന്തോ ഒന്ന് പിടികിട്ടി: ഒരു സ്പാർക്ക് അതിൻ്റെ GPU അതിൻ്റെ സാധാരണ ക്ലോക്ക് വേഗതയുടെ ഏകദേശം നാലിലൊന്ന് വേഗതയിൽ പ്രവർത്തിപ്പിക്കുകയായിരുന്നു, ഒരു ഡാഷ്‌ബോർഡിലും ഒന്നും അങ്ങനെ പറഞ്ഞിട്ടില്ല. തെർമൽ മുന്നറിയിപ്പുകളോ ത്രോട്ടിൽ ഫ്ലാഗുകളോ ഇല്ലായിരുന്നു, ഉപയോഗം 100% അടുത്ത് ഇരുന്നു.

I have three Nvidia DGX Sparks on my desk, and two of them spent six days wired together while I tried three ways to train my own ChatGPT from scratch. That run went fine. The profiling pass afterward caught something ugly: one Spark was running its GPU at roughly a quarter of its usual clock speed, and nothing on any dashboard said so.

There were no thermal warnings and no throttle flags, and utilization sat near 100%. I've benchmarked these boxes enough, including against AMD's tiny Ryzen AI box, to trust them, which is exactly why I didn't look sooner. If you've turned two of these mini PCs into a local AI cluster, you could lose half your speed and never notice.

A reboot didn't fix it. Pulling the power brick out of the wall did

Back in October, all of my Sparks dropped off the network at once, and I restarted them by hand to get back in. The next day, a profile of the two-Spark pair showed the one I call One running its GPU at 591 MHz under load. Its twin, Two, was at about 2,190 MHz on the same job.

Here's the sneaky part. One still reported its GPU as 98.5% busy, and neither machine logged any thermal slowdown. It was busy, just busy at a crawl, and every tool I'd normally glance at told me everything was fine.

In a cluster, that's worse than it sounds. Each training update has to wait for the slower machine, so Two spent about 3.4 seconds of every 7.2-second update doing nothing but waiting for One to catch up. I had two Sparks drawing power and roughly one Spark's worth of work coming out.

To check your own, start a real workload and run this in a second terminal:​​​​​​​

You're looking for a clock stuck near 600 MHz with low power draw while utilization stays high. A community guide calls a Spark healthy if it averages at least 1,400 MHz and 40 W under load.

I'd lean on the clock more than the wattage, though. My healthy Sparks averaged 40 to 42 W while training, which is right on that line, and a plain matrix-multiply test pushed the same hardware past 80 W.

I'm not the first to hit this. A thread on Nvidia's developer forums has collected reports since February, starting with an owner whose Spark drew about 14 W at 96% utilization and generated tokens at half its usual rate. A separate write-up describes a unit pinned at 611 MHz that shrugged off reboots, driver reloads, and manual clock commands.

The community's diagnosis is that the USB-C power delivery controller in the power brick gets stuck in a low-power state. To be clear, Nvidia hasn't confirmed that, and staff in the thread were still asking owners for firmware readouts as of April.

It does fit what I saw. I'd already rebooted both machines after the network dropout, and the slow clock was still there afterward. The forum's original poster found that unplugging only the USB-C end at the Spark didn't help either, and that it had to be the wall.

So that's what a cold drain is:

I did both Sparks in one evening, then reran the exact same 64-update training test.

Time per update, Transformer Engine FP8

Tokens per second, Transformer Engine FP8

That's 1.8x to 2x the throughput from pulling a plug. A matrix-multiply test on One afterward hit 98.63 TFLOPS at 2,184 to 2,190 MHz, which lines up with the 97.9 TFLOPS that write-up measured on a recovered unit. Not bad for a few minutes of unplugging things.

Sure, I can't prove the power brick was the culprit. A cold drain resets more than one thing, and I never captured a firmware inventory from before the restart, so there's no before-and-after on that side. What I can say is that a reboot didn't bring the clocks back, and unplugging it did.

One forum user also credits a firmware update with addressing the power delivery problem, and I deliberately skipped it. Another owner in the same thread worried about a ConnectX-7 slowdown after updating, and that link is what my two Sparks sync over. Reports are mixed, so I wasn't going to risk trading one bottleneck for another mid-project.

I only noticed this bug because I happened to be benchmarking the cluster afterward for something else. The training run before it finished clean, with six days of work behind it at full clocks. If it had glitched earlier? That would have been more than six days of training, and I would have blamed my code and scripts, not the hardware. So now the clock check is built into my projects, as one of the indicators before I start any substantial work.

Reported by XDA Developers Read Original Article ↗