- Posts: 13
- Thank you received: 0
Trouble when I cut large files - fails down or up Z axis
For example, I have the 1500K rows 3D relief G-code on which I failed.
After it I insert after each 250k rows pause on 1 hour (G04 P3600) to be sure that it problem not mechanical (or heat for example) and got same failure result.
After it I split this large file into several small 250K rows each and run one after other without any delay - and I cut everything well and got a positive result.
I think it's a problem to work program with RAM or some thing else. I found in it topic - G-Code file size limit post where was write -
I tried turn off preview in AXIS and switch to other minimal interfaces without backplot, but no get positive effect.Practically it is about 500k lines on P4 2.8Ghz, 1GB ram, geforce 2
And you can turn off the preview in AXIS.
But I have 3Gb ram (1Gb+2Gb) and I think LCNC work with 1Gb RAM at first and after it with second 2Gb RAM.
And when it switch to read from first 1Gb to second 2Gb it get fails.
I think it is BUG of LinuxCNC
I think it needs to be fixed. But I do not even know where to start looking at the source code to understand what needs to be fixed and how.
The second option is to write a script that would load the file for execution in separate parts, so as not to waste time dividing a large file into parts and not to load each part separately - it is very tedious, especially if you have to wait in the middle of the night when one part is cut to run another
I think if I insert one big RAM memory or two identical, it problem will stop for my case of 1500K rows, but if I load much more rows. when it begin switch again between two RAMs - it problem come up again
So manipulating memory is just running away from problems, not solving them as such.
May be some body can help me, or give me some advice how to solve it problem.
Thank you.
:~$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 16
Model: 6
Model name: AMD Athlon(tm) II P320 Dual-Core Processor
Stepping: 3
CPU MHz: 800.000
CPU max MHz: 2100.0000
CPU min MHz: 800.0000
BogoMIPS: 4189.75
Virtualization: AMD-V
L1d cache: 64K
L1i cache: 64K
L2 cache: 512K
NUMA node0 CPU(s): 0,1
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a 3dnowprefetch osvw ibs skinit wdt nodeid_msr hw_pstate vmmcall npt lbrv svm_lock nrip_save
:~$ lshw -short
H/W path Device Class Description
======================================================
system K52De
/0 bus K52De
/0/0 memory 64KiB BIOS
/0/4 processor AMD Athlon(tm) II P320 Dual-Core Processor
/0/4/5 memory 256KiB L1 cache
/0/4/6 memory 1MiB L2 cache
/0/28 memory 3GiB System Memory
/0/28/0 memory 2GiB SODIMM DDR3 Synchronous 1333 MHz (0.8 ns)
/0/28/1 memory 1GiB SODIMM DDR3 Synchronous 1333 MHz (0.8 ns)
/0/100 bridge RS780 Host Bridge
/0/100/2 bridge RS780 PCI to PCI bridge (ext gfx port 0)
/0/100/2/0 display Park [Mobility Radeon HD 5430/5450/5470]
/0/100/2/0.1 multimedia Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]
/0/100/4 bridge RS780/RS880 PCI to PCI bridge (PCIE port 0)
/0/100/4/0 wlan0 network AR9285 Wireless Network Adapter (PCI-Express)
/0/100/5 bridge RS780/RS880 PCI to PCI bridge (PCIE port 1)
/0/100/5/0 generic SD/MMC Host Controller
/0/100/5/0.2 generic Standard SD Host Controller
/0/100/5/0.3 generic MS Host Controller
/0/100/5/0.4 generic xD Host Controller
/0/100/5/0.5 eth0 network JMC250 PCI Express Gigabit Ethernet Controller
/0/100/11 storage SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
/0/100/12 bus SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
/0/100/12/1 usb4 bus OHCI PCI host controller
/0/100/12/1/1 input Usb Mouse
/0/100/12/1/3 input USB Receiver
/0/100/12.2 bus SB7x0/SB8x0/SB9x0 USB EHCI Controller
/0/100/12.2/1 usb1 bus EHCI Host Controller
/0/100/13 bus SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
/0/100/13/1 usb5 bus OHCI PCI host controller
/0/100/13/1/4 communication BT-253
/0/100/13.2 bus SB7x0/SB8x0/SB9x0 USB EHCI Controller
/0/100/13.2/1 usb2 bus EHCI Host Controller
/0/100/14 bus SBx00 SMBus Controller
/0/100/14.2 multimedia SBx00 Azalia (Intel HDA)
/0/100/14.3 bridge SB7x0/SB8x0/SB9x0 LPC host controller
/0/100/14.4 bridge SBx00 PCI to PCI Bridge
/0/100/16 bus SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
/0/100/16/1 usb6 bus OHCI PCI host controller
/0/100/16.2 bus SB7x0/SB8x0/SB9x0 USB EHCI Controller
/0/100/16.2/1 usb3 bus EHCI Host Controller
/0/101 bridge Family 10h Processor HyperTransport Configuration
/0/102 bridge Family 10h Processor Address Map
/0/103 bridge Family 10h Processor DRAM Controller
/0/104 bridge Family 10h Processor Miscellaneous Control
/0/105 bridge Family 10h Processor Link Control
/0/1 scsi0 storage
/0/1/0.0.0 /dev/sda disk 320GB WDC WD3200BEVT-8
/0/1/0.0.0/1 /dev/sda1 volume 119GiB Extended partition
/0/1/0.0.0/1/5 /dev/sda5 volume 116GiB EXT4 volume
/0/1/0.0.0/1/6 /dev/sda6 volume 3068MiB Linux swap volume
/0/1/0.0.0/3 /dev/sda3 volume 178GiB Windows NTFS volume
/0/2 scsi1 storage
/0/2/0.0.0 /dev/cdrom disk DVD RW AD-7580S
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
You can try dissabling "lookahead" but i do not know if it will help.
Please Log in to join the conversation.
Sounds like lost steps
Can you try with you Z axis acceleration reduced by say 30%?
Please Log in to join the conversation.
zaxlex wrote: And when it switch to read from first 1Gb to second 2Gb it get fails.
I think it is BUG of LinuxCNC
I think it needs to be fixed. But I do not even know where to start looking at the source code to understand what needs to be fixed and how.
I cut an 8 foot 3d relief header 8 inches wide and it took 12 hours on my router. It finished it fine and I had 2 gig ram.
Sounds like a hardware issue to me.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
It really does not seem like a memory issue to me,. Note that LinuxCNC does not necessarily load the entire gcode file into memory (though the backplot will run through the entire file), and that there is nothing special that happens at 1G.
What interface hardware do you have?
Please Log in to join the conversation.
but it problem I had and on older PC with lpt port
and yes I try other minimal interfaces without backplot
Please Log in to join the conversation.
There have been plenty of posts where people are cutting similar size files without issues but they d turn off the back plot.
Like everyone else, My money is on lost steps on the Z axis. In my experience, this usually happens on up travel with the weight of the Z axis pushing down.
Please Log in to join the conversation.
