soccer jersey forums.silverfrost.com :: View topic - SDBG and huge arrays
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SDBG and huge arrays

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
DanRRight



Joined: 10 Mar 2008
Posts: 2863
Location: South Pole, Antarctica

PostPosted: Tue Jul 16, 2024 9:02 pm    Post subject: SDBG and huge arrays Reply with quote

I suggest to look at this new problem which started to appear recently in the age of so called Big Data. When using larger and larger arrays in the programs one thing started to annoy when you run the code via SDBG/SDBG64: you start to wait more and more for the debugger to allocate and fill such arrays. Even if the debugger not just allocates but also sets the specific values for the arrays to catch the undefined variables i suspect that there is something not optimized there if you wait for the times like ~3 minutes to fill 500GB array, may be I am wrong but my feelings are that there are no hardware limitations for being that slow
Back to top
View user's profile Send private message
Robert



Joined: 29 Nov 2006
Posts: 450
Location: Manchester

PostPosted: Wed Jul 17, 2024 10:49 am    Post subject: Reply with quote

Do you mean the debugger or the program you are running? The debuggers do not do anything (much) to your program and certainly do not fill any of your arrays. If you have large arrays and use an option like /undef then they will be filled at run-time...that is just the cost of using the checking facilities.

Do you have 500GB arrays? How much RAM do you have?
Back to top
View user's profile Send private message Visit poster's website
DanRRight



Joined: 10 Mar 2008
Posts: 2863
Location: South Pole, Antarctica

PostPosted: Wed Jul 17, 2024 10:13 pm    Post subject: Reply with quote

I understand that when using /check and /undef you have to expect slowing down the program execution. But filling the arrays is different matter. I am pondering can it be done much faster ? May be by using multi-threading specifically for that as with the single processor it is probably impossible to speed it up

You get very quickly annoyed when debugging you lose 20 times per day these 3 minutes each program launch. This reminds me older times when compiling you launch the card deck reader, take couple cigarettes, go outside and when return it is still not done Smile

Yes, i have 512GB RDRAM and with the big worry looking for the future when it will be 1.5 TB this motherboard supports. All my workday will be just waiting for program to load Sad
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2863
Location: South Pole, Antarctica

PostPosted: Sun Sep 22, 2024 9:10 am    Post subject: Reply with quote

On Frontier, the #1 supercomputer in the world, the requests for computer time started to appear in my area of interests with allocations 5-7 Petabytes of RAM. Last year they were around 1 PB and I thought it is a bit too much. This year the committee even did not notice this number.

That would take me to load such task into SDBG for the debugging for 30000 minutes or 21 day
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group