EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: A question about the Temp folder  (Read 2155 times)

MAD

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
  • Defender
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 58.0.3029.110 Chrome 58.0.3029.110
    • View Profile
A question about the Temp folder
« on: 06 June 2017, 11:55 »

Hi, maybe someone knows the answer to the following, or maybe Roman is listening in ;) When rebuilding with CLRMAMEPro, do the unpacked files placed in the Temp folder get moved to its destination or copied and deleted from the Temp folder. I ask this because recent Trurip releases are unzipped and I was hoping to get some speed boost by placing the Temp folder directly on the destination folder. I understand that it's not always necessary but in this case it is. So, if it's a move it's just fine in my case. If it’s a copy and delete (safer option imho) could it be made optional to select copy/delete or direct move from the Temp?

Regards,
MAD
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 103
  • Offline Offline
  • Posts: 3094
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 59.0.3071.86 Chrome 59.0.3071.86
    • View Profile
Re: A question about the Temp folder
« Reply #1 on: 07 June 2017, 06:40 »

Hmm...good question...have to look at the source...

must be decades ago when I used the rebuilder to actually recompress files...I only use the no-recompress mode ;-)

I will check it
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 103
  • Offline Offline
  • Posts: 3094
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 59.0.3071.86 Chrome 59.0.3071.86
    • View Profile
Re: A question about the Temp folder
« Reply #2 on: 07 June 2017, 18:45 »

ok...the current procedure is the following:

If you got an unpacked file AND its hash will only match one (1) file AND you got "remove rebuilt source files" enabled, then it will be moved, otherwise the file gets copied.

I check if I this can be enhanced to If you got an unpacked file AND its hash will only match one (1) AND (you got "remove rebuilt source files" OR the file is a temporary unpacked source file)
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 103
  • Offline Offline
  • Posts: 3094
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 59.0.3071.86 Chrome 59.0.3071.86
    • View Profile
Re: A question about the Temp folder
« Reply #3 on: 07 June 2017, 19:26 »

you might want to give this a try....as mentioned, now Move is also used when you don't have 'remove rebuilt source' enabled...
If you had it enabled before...well...tough luck then...then it simply doesn't really give a speedboost
https://mamedev.emulab.it/clrmamepro/binaries/cmpro20170607.rar
Logged

MAD

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
  • Defender
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 59.0.3071.86 Chrome 59.0.3071.86
    • View Profile
Re: A question about the Temp folder
« Reply #4 on: 08 June 2017, 09:35 »

Thank you for your answer. In my case I did want to preserve the source since it I was still seeding another collection ;) So, as I understand it, originally move is used when remove matched sourcefiles flag is enabled and in the new included compile move is used all the time.
I tested it with just a few files and there's already significant gain (2 minutes). Sweet. Can you make this the default for next compiles?


regards
MAD
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 103
  • Offline Offline
  • Posts: 3094
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 59.0.3071.86 Chrome 59.0.3071.86
    • View Profile
Re: A question about the Temp folder
« Reply #5 on: 08 June 2017, 09:48 »

well yes, it's in now...and won't be turned back off again ;-)
Logged

coccola

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 54
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 53.0 Firefox 53.0
    • View Profile
Re: A question about the Temp folder
« Reply #6 on: 08 June 2017, 22:56 »

@MAD

Your file manager looks great. Could you tell me what's the name of it? I've been looking for a good two-panel file manager.

TIA
Logged

MAD

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 3
  • Defender
  • Operating System:
  • Windows NT 10.0 Windows NT 10.0
  • Browser:
  • Chrome 59.0.3071.86 Chrome 59.0.3071.86
    • View Profile
Re: A question about the Temp folder
« Reply #7 on: 10 June 2017, 21:14 »

Hi Coccola,

It's good old DOpus (Amiga days). I don't tweak the GUI too much but I make a lot of custom scripts for my ROM hoarding needs. It's not cheap and you have to pay for every next major release. But developers need food too and the program keeps developing. There are other good file managers but this one is the best for me when putting some effort into scripting. There is a 60 days evaluation period to get a good taster. https://www.gpsoft.com.au/



Logged

coccola

  • Member
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 54
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 54.0 Firefox 54.0
    • View Profile
Re: A question about the Temp folder
« Reply #8 on: 16 June 2017, 06:01 »

I will try. Thank you!
Logged
Pages: [1]   Go Up
 

Page created in 0.095 seconds with 20 queries.

anything
anything