View previous topic :: View next topic |
Author |
Message |
firaX Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Final Fantasy/Final_Fantasy_8_-_Squall.gif)
Joined: 23 Apr 2003 Posts: 175 Location: Munich, Germany
|
Posted: Tue May 29, 2007 7:12 pm Post subject: Intel e1000 gigabit , slow on some files |
|
|
Hi, i have a weird problem.
I have 2 Gentoo machines, with almost identical hardware (athlon 64x2, nforce, intel gigabit NIC).
Im using Cat.6 cables. When i transfer from the server machine to the client, i get good speed, 400mbit+, when i SEND files to the server it crawls at 50mbit-90mbit max. But it only seems to be very slow when i transfer video files for example. I transferred a diff large file (ISO) and it went to 200mbit, not fast but at least faster than 50mbit! Both machinese use the 2.6.20-R8 Gentoo kernel and SATA II Samsung drives.
Anyone know what might be the cause? I do not have any dmesg errors or anything.
Thank you,
firaX
PS: I tested again, downloading files from server to client works at 400-500mbits, other way its crawling at 100....i am testing via FTP. I dont understand why it works in one dir, but not in the other :/
PS2: NVM its NOT the network, it seems my /home/fira/Desktop/Bittorrent Downloads/ folder is SLOW, and i dont know why... when i copy files over to /home/fira/somethingelse it copies over (from hdd) with 3.5mbyte sec only, after that i get 400mbit FTP speed! How can that be? Im using ReiserFS, and it seems to be only files in that folder that are very slow.
Doesn't matter much, since solution seems to be just moving files out of the folder, but i find it strange nevertheless. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jpl888 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/686496017425d82ff190a1.png)
Joined: 13 Apr 2005 Posts: 337 Location: Piltown, Co. Kilkenny, Ireland.
|
Posted: Sat Jun 16, 2007 11:37 am Post subject: |
|
|
I tried ReiserFS before and found that strange things like that would happen, you are better off sticking with ext3. At least it is consistent. _________________ John Lewis IT Consultancy and Engineering
http://www.johnlewis.ie |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
firaX Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Final Fantasy/Final_Fantasy_8_-_Squall.gif)
Joined: 23 Apr 2003 Posts: 175 Location: Munich, Germany
|
Posted: Tue Jun 19, 2007 2:33 pm Post subject: |
|
|
i think so too...Any guides/way to reformat my whole system (i partitioned using reiserfs on / /Home /usr /opt etc) without having to reinstall everything? As in make backup, change to EXT3, move backup back to disc, without having to recompile. This is driving me crazy, it might also have to do with the "AMD64 slow during disk access". I get horribly slow speeds in general when i copy over 300mb files within the HDD. Im not even copying them to a different HDD, just within the same HDD to a diff folder... 3-8 mb sec, aftrer that it seems fine. It seems almost as if the files are scattered throughout the HDD and the copy process puts them together.
PS: can also move this to a diff forum, it has nothing to do with my network after all, its 100% a HDD / filesystem issue. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jpl888 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/686496017425d82ff190a1.png)
Joined: 13 Apr 2005 Posts: 337 Location: Piltown, Co. Kilkenny, Ireland.
|
Posted: Tue Jun 19, 2007 6:21 pm Post subject: |
|
|
I don't think so, I'm sure somebody will correct me if I'm wrong.
I think the quickest thing to do would be boot off a live CD, tar the filesystems to another HD or network location, repartition and extract the tar archives back where they belong.
However you might want another backup using some other method like dd in case something goes wrong; I'm not entirely sure how well tar does pristine file system backup.
I was going to say use dump and restore but they only handle ext2/3 AFAIK.
Good luck! _________________ John Lewis IT Consultancy and Engineering
http://www.johnlewis.ie |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
St3v3 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Jun 2007 Posts: 25
|
Posted: Fri Jun 22, 2007 8:35 am Post subject: |
|
|
could it be somthing as simple as fragmented files? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jpl888 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/686496017425d82ff190a1.png)
Joined: 13 Apr 2005 Posts: 337 Location: Piltown, Co. Kilkenny, Ireland.
|
Posted: Fri Jun 22, 2007 11:16 am Post subject: |
|
|
I would hope that any Linux filesystem doesn't suffer significantly from fragmentation. Fragmenting files is something that Windoze does much better!
If it did turn out to be a fragmentation issue I say that's another good reason to leave reiserfs well alone. _________________ John Lewis IT Consultancy and Engineering
http://www.johnlewis.ie |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
papafox n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Feb 2007 Posts: 5
|
Posted: Sat Jun 23, 2007 5:58 am Post subject: |
|
|
jpl888 wrote: | I would hope that any Linux filesystem doesn't suffer significantly from fragmentation. Fragmenting files is something that Windoze does much better!
If it did turn out to be a fragmentation issue I say that's another good reason to leave reiserfs well alone. |
The reiserfs has a number of issues, but fragmentation is not one of them.
All the major filesystems - ext3, reiserfs, XFS and JFS - have put a lot of work into avoiding fragmentation. Hans has always claimed that reiserfs has less of an issue with fragmentation than ext3. That said, there are always perverse scenarios which will cause fragmentation. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kimmie Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/188316714246c9845d589cf.gif)
Joined: 08 Sep 2004 Posts: 531 Location: Australia
|
Posted: Sat Jun 23, 2007 6:45 pm Post subject: |
|
|
Some things that usually cause slowdowns:
- Directories with large numbers of files (although then the file size shouldn't matter)
- Partitions that are nearly full
- Hard drives that are on their way out (use smartmontools to check)
But maybe you're copying between two partitions on the same disk? This is often slow, because the head has to move back and forth. Even if you're on the same partition, it can still be slow if the partition is large and filling up. This happens even without fragmentation.
Have you tested write speed without copying? Use something like Code: | dd if=/dev/zero of=testfile bs=1m count=300 | and compare your different folders. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
darkphader Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_fry.gif)
Joined: 09 May 2002 Posts: 1225 Location: Motown
|
Posted: Sat Jun 23, 2007 6:56 pm Post subject: |
|
|
firaX wrote: | Any guides/way to reformat my whole system (i partitioned using reiserfs on / /Home /usr /opt etc) without having to reinstall everything? |
There is probably something out there. It is, however, pretty straight forward. I just moved to a new drive using rsync to copy (in archive mode within filesystems [-ax] - I've used tar in the past as well).
Maybe there's some oddity with your ftp server or client. Try reversing the system roles (install your ftp server on the client) and see what happens.
Chris _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|