My Grizzly G0602 Lathe
- robertspark
- Offline
- Platinum Member
Less
More
- Posts: 915
- Thank you received: 216
09 Jan 2021 12:40 - 09 Jan 2021 12:41 #194585
by robertspark
is actually the number of parallel operations not the number of simultaneous "files".... and the -j switch must correspond to your number of processors your hardware has.... -j8 would be for an 8 core processor....
you should run
(number of processors)
before "make -j8"
or the cover all syntax would be
that way it will always run the right number of parallel operations for your specific hardware (should you be lucky enough to have a 24 core processor....)
or like me a 2 core...
Replied by robertspark on topic My Grizzly G0602 Lathe
make -j8
is actually the number of parallel operations not the number of simultaneous "files".... and the -j switch must correspond to your number of processors your hardware has.... -j8 would be for an 8 core processor....
you should run
nproc
(number of processors)
before "make -j8"
or the cover all syntax would be
make -j$(nproc)
that way it will always run the right number of parallel operations for your specific hardware (should you be lucky enough to have a 24 core processor....)
or like me a 2 core...
Last edit: 09 Jan 2021 12:41 by robertspark.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- my1987toyota
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 814
- Thank you received: 331
09 Jan 2021 14:52 #194591
by my1987toyota
perhaps this will help.
forum.linuxcnc.org/9-installing-linuxcnc...nd-easy-installation
Replied by my1987toyota on topic My Grizzly G0602 Lathe
Care to share that 19.3 iso?
perhaps this will help.
forum.linuxcnc.org/9-installing-linuxcnc...nd-easy-installation
Please Log in or Create an account to join the conversation.
10 Jan 2021 10:18 #194702
by rodw
Hmm, I just had to go into my office to run nproc and the answer was 4.
I knew J was tied to the number of processors but did not know how to check.
So I don't think its an issue if the number exceeds the number of processors.
I do know from past experience it makes a massive difference to compile time.
Replied by rodw on topic My Grizzly G0602 Lathe
make -j8
is actually the number of parallel operations not the number of simultaneous "files".... and the -j switch must correspond to your number of processors your hardware has.... -j8 would be for an 8 core processor....
you should run
nproc
(number of processors)
before "make -j8"
or the cover all syntax would be
make -j$(nproc)
that way it will always run the right number of parallel operations for your specific hardware (should you be lucky enough to have a 24 core processor....)
or like me a 2 core...
Hmm, I just had to go into my office to run nproc and the answer was 4.
I knew J was tied to the number of processors but did not know how to check.
So I don't think its an issue if the number exceeds the number of processors.
I do know from past experience it makes a massive difference to compile time.
Please Log in or Create an account to join the conversation.
- robertspark
- Offline
- Platinum Member
Less
More
- Posts: 915
- Thank you received: 216
10 Jan 2021 10:44 - 10 Jan 2021 11:12 #194704
by robertspark
Replied by robertspark on topic My Grizzly G0602 Lathe
Rod, I don't know, but it may result in jobs being placed in a partial complete que (I don't know enough about linux)
there is a bit of a discussion here, but the theory goes that if you've got a 4 lane motorway (freeway / highway) don't try to treat it as an 8 lane one....
unix.stackexchange.com/questions/208568/...ass-to-make-j-option
If you use the following string it should always sort its self out
or else in theory you could just load up a number like -j200 and let it do its thing with the build.
just probably a useful tip to all noobs to just use the make -j$(nproc) string
if its good enough for Linus Torvalds to run -j32 with his 32 core rig, it's good enough for me to run mine with just the right number of cores as to what I can afford + require.
linux.slashdot.org/story/20/05/25/020240...n-on-his-personal-pc
he was obviously running an 8 core previously and 32 core therefore being 4x faster (more lanes)
there is a bit of a discussion here, but the theory goes that if you've got a 4 lane motorway (freeway / highway) don't try to treat it as an 8 lane one....
unix.stackexchange.com/questions/208568/...ass-to-make-j-option
If you use the following string it should always sort its self out
make -j$(nproc)
or else in theory you could just load up a number like -j200 and let it do its thing with the build.
just probably a useful tip to all noobs to just use the make -j$(nproc) string
if its good enough for Linus Torvalds to run -j32 with his 32 core rig, it's good enough for me to run mine with just the right number of cores as to what I can afford + require.
linux.slashdot.org/story/20/05/25/020240...n-on-his-personal-pc
he was obviously running an 8 core previously and 32 core therefore being 4x faster (more lanes)
Last edit: 10 Jan 2021 11:12 by robertspark.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
10 Jan 2021 11:22 #194709
by tommylight
Replied by tommylight on topic My Grizzly G0602 Lathe
Pretty sure you can use a bigger number as it will use what is available, using smaller numbers will make the compile time much longer.
The best way is to check and use the right number as mentioned above by Robert.
The best way is to check and use the right number as mentioned above by Robert.
Please Log in or Create an account to join the conversation.
13 Jan 2021 22:15 #195263
by arvidb
Replied by arvidb on topic My Grizzly G0602 Lathe
The RAM use is approximately proportional to the number of jobs. I usually use a number of jobs equal to the number of cores plus one - this increases the chance that there are always a job for each core (a job can be waiting for IO for example and thus not be possible to schedule to the cpu).
But as far as I understand, the only harm in using "too many" jobs is if you don't have enough RAM. Swapping kills the performance for sure!
But as far as I understand, the only harm in using "too many" jobs is if you don't have enough RAM. Swapping kills the performance for sure!
Please Log in or Create an account to join the conversation.
- my1987toyota
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 814
- Thank you received: 331
16 Jan 2021 22:58 - 16 Jan 2021 22:58 #195588
by my1987toyota
Replied by my1987toyota on topic My Grizzly G0602 Lathe
Well the lathe is on it's stand. It's far from it's cnc version but one step closer. After picking the thing up with an engine crane
I realized their needs to be better lifting points on the machine . The G0602 is exceedingly heavy near it's spindle.
I guess I will have to drill and tap some holes for a decent mounting point. Hopefully I will have better luck then Russtuff
drilling and tapping the castings . I do have a quick video of the Lathe on it's stand.
I realized their needs to be better lifting points on the machine . The G0602 is exceedingly heavy near it's spindle.
I guess I will have to drill and tap some holes for a decent mounting point. Hopefully I will have better luck then Russtuff
drilling and tapping the castings . I do have a quick video of the Lathe on it's stand.
Last edit: 16 Jan 2021 22:58 by my1987toyota.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
17 Jan 2021 00:10 #195604
by rodw
Replied by rodw on topic My Grizzly G0602 Lathe
Buy a sling. If you sling them around the chuck and through the web (with a short piece of pipe through the webbing, you can pick a lathe up and then put it down again to balance the load. When you pick it up again, it will be balanced. Its a very handy trick my lathe supplier told me once.
Also, make sure you bolt the stand down to the floor before doing anything. I managed to tip a 280kg over as they are not well balanced on the stand. It could have killed me! I then built my own stand with removable wheels.
On Page 5 of this thread about my shed, the drama started!
www.homemodelenginemachinist.com/threads...s-aussie-shed.19885/
Also, make sure you bolt the stand down to the floor before doing anything. I managed to tip a 280kg over as they are not well balanced on the stand. It could have killed me! I then built my own stand with removable wheels.
On Page 5 of this thread about my shed, the drama started!
www.homemodelenginemachinist.com/threads...s-aussie-shed.19885/
Please Log in or Create an account to join the conversation.
17 Jan 2021 00:18 #195607
by andypugh
This can be a terrible idea on some lathes. Some older lathes have screw-down bearing caps holding the spindle. They are not designed to lift the whole lathe.
The manual for my lathe has clear instructions how to lift it. I would imagine that most do.
(In the case of the Holbrook Minor it is two plates top and bottom of the bed near the headstock and an eye bolt.)
You can trim the balance by moving the carriage.
Replied by andypugh on topic My Grizzly G0602 Lathe
Buy a sling. If you sling them around the chuck
This can be a terrible idea on some lathes. Some older lathes have screw-down bearing caps holding the spindle. They are not designed to lift the whole lathe.
The manual for my lathe has clear instructions how to lift it. I would imagine that most do.
(In the case of the Holbrook Minor it is two plates top and bottom of the bed near the headstock and an eye bolt.)
You can trim the balance by moving the carriage.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- my1987toyota
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 814
- Thank you received: 331
24 Feb 2021 02:00 #199916
by my1987toyota
Replied by my1987toyota on topic My Grizzly G0602 Lathe
Boy does time fly. I ended up having to use the lathe in it's original form to rebuild the Z axis on the cnc router
at work . Why the manufacture decided to use the bearings in the Z axis stepper motor to control the thrust load
is beyond me. Funny they put them in the X and Y axis. I fortunately got the Z axis finished today.
Now the Z axis has it's own dedicated thrust bearings
At the same time I had to upgrade and upsize my anodizing line.
I took a different approach to the lifting and moving problem on the lathe . I made a T-bar to hook to the lathe
and WOW does it make moving it around much easier. I will be getting back to CNCing the lathe in a few weeks
I have to finish up a few things on the anodizing line first.
at work . Why the manufacture decided to use the bearings in the Z axis stepper motor to control the thrust load
is beyond me. Funny they put them in the X and Y axis. I fortunately got the Z axis finished today.
Now the Z axis has it's own dedicated thrust bearings
At the same time I had to upgrade and upsize my anodizing line.
I took a different approach to the lifting and moving problem on the lathe . I made a T-bar to hook to the lathe
and WOW does it make moving it around much easier. I will be getting back to CNCing the lathe in a few weeks
I have to finish up a few things on the anodizing line first.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.175 seconds